Browse Source

* suppress warning if host banned just now

master
Alex 'AdUser' Z 9 years ago
parent
commit
e9c8664c7b
  1. 2
      src/jail.c

2
src/jail.c

@ -189,7 +189,7 @@ f2b_jail_process(f2b_jail_t *jail) {
}
/* this ip was seen before */
addr->lastseen = now;
if (addr->banned) {
if (addr->banned && addr->bantime != now) {
f2b_log_msg(log_warn, "jail '%s': ip %s was already banned", jail->name, matchbuf);
continue;
}

Loading…
Cancel
Save