TCPServer: clean up old IP bans

This commit is contained in:
SChernykh
2021-10-29 14:24:05 +02:00
parent 806e1ca0a3
commit b45540ca08
6 changed files with 60 additions and 38 deletions

View File

@@ -19,6 +19,9 @@
#include <uv.h>
static_assert(sizeof(in6_addr) == 16, "struct in6_addr has invalid size");
static_assert(sizeof(in_addr) == 4, "struct in_addr has invalid size");
namespace p2pool {
struct MutexLock : public nocopy_nomove