Browse Source

BF: fail2ban-regex erroneously reporting multiple regexs had matched

pull/476/head
Steven Hiscocks 11 years ago
parent
commit
60d298d898
  1. 2
      bin/fail2ban-regex

2
bin/fail2ban-regex

@ -428,7 +428,7 @@ class Fail2banRegex(object):
" %s %s%s" % ( " %s %s%s" % (
ip[1], ip[1],
timeString, timeString,
ip[3] and " (multiple regex matched)" or "")) ip[-1] and " (multiple regex matched)" or ""))
print "\n%s: %d total" % (title, total) print "\n%s: %d total" % (title, total)
pprint_list(out, " #) [# of hits] regular expression") pprint_list(out, " #) [# of hits] regular expression")

Loading…
Cancel
Save