Browse Source

BF: datepattern handling in fail2ban-regex

pull/546/head
Daniel Black 11 years ago
parent
commit
95add8a1c5
  1. 3
      bin/fail2ban-regex

3
bin/fail2ban-regex

@ -280,6 +280,9 @@ class Fail2banRegex(object):
elif command[2] == 'addjournalmatch':
journalmatch = command[3]
self.setJournalMatch(shlex.split(journalmatch))
elif command[2] == 'datepattern':
datepattern = command[3]
self.setDatePattern(datepattern)
else:
print "ERROR: failed to read %s" % value
return False

Loading…
Cancel
Save