Browse Source

* fix f2b_jail_process()

master
Alex 'AdUser' Z 9 years ago
parent
commit
8c1b0ef5f5
  1. 3
      src/jail.c

3
src/jail.c

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

Loading…
Cancel
Save