Browse Source

* fix match score in jails without filter

master
Alex 'AdUser' Z 4 years ago
parent
commit
ec90b7fed2
  1. 1
      src/jail.c

1
src/jail.c

@ -290,6 +290,7 @@ f2b_jail_process(f2b_jail_t *jail) {
/* without filter: 1) value always matches, 2) passed as-is */
memcpy(matchbuf, line, sizeof(matchbuf));
ftag = 0;
score = MATCH_DEFSCORE;
}
/* find-or-create matched address in jail known hosts list */
addr = f2b_addrlist_lookup(jail->ipaddrs, matchbuf);

Loading…
Cancel
Save