@ -19,7 +19,7 @@ f2b_ipaddr_create(const char *addr, size_t matches) {
if (inet_pton(a->type, addr, &a->binary.v6) < 1)
goto cleanup;
}
if (f2b_matches_create(&a->matches, matches) == false)
@ -9,6 +9,7 @@ typedef struct f2b_ipaddr_t {
struct f2b_ipaddr_t *next;
int type;
char text[40]; /* 8 x "ffff" + 7 x ":" + '\0' */
bool banned;
union {
struct in_addr v4;
struct in6_addr v6;