BF: fail2ban-regex erroneously reporting multiple regexs had matched

pull/476/head
Steven Hiscocks 2013-12-04 23:36:45 +00:00
parent c03a50b44b
commit 60d298d898
1 changed files with 1 additions and 1 deletions

View File

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