diff --git a/bin/fail2ban-regex b/bin/fail2ban-regex index bd99068dd..b0a788281 100755 --- a/bin/fail2ban-regex +++ b/bin/fail2ban-regex @@ -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")