|
|
@ -56,7 +56,7 @@ f2b_statefile_load(f2b_statefile_t *sf) { |
|
|
|
const int fields = 3; |
|
|
|
const int fields = 3; |
|
|
|
const char *format = "%48s %u %u"; /* 48 == IPADDR_MAX == sizeof(addr) */ |
|
|
|
const char *format = "%48s %u %u"; /* 48 == IPADDR_MAX == sizeof(addr) */ |
|
|
|
f2b_ipaddr_t *addrlist = NULL, *ipaddr = NULL; |
|
|
|
f2b_ipaddr_t *addrlist = NULL, *ipaddr = NULL; |
|
|
|
char buf[256], addr[IPADDR_MAX], *p; |
|
|
|
char buf[256], addr[IPADDR_MAX + 1], *p; |
|
|
|
unsigned int banned_at, release_at; |
|
|
|
unsigned int banned_at, release_at; |
|
|
|
FILE *f = NULL; |
|
|
|
FILE *f = NULL; |
|
|
|
|
|
|
|
|
|
|
|