mirror of https://github.com/fail2ban/fail2ban
BF: Fix fail2ban-regex not parsing journalmatch correctly
parent
ab74a35b8a
commit
0c869910ea
|
@ -10,6 +10,7 @@ ver. 0.9.3 (2015/XX/XXX) - wanna-be-released
|
|||
-----------
|
||||
|
||||
- Fixes:
|
||||
* Fix fail2ban-regex not parsing journalmatch correctly from filter config
|
||||
|
||||
- New Features:
|
||||
|
||||
|
|
|
@ -297,8 +297,8 @@ class Fail2banRegex(object):
|
|||
"read from %(value)s" % locals()
|
||||
return False
|
||||
elif command[2] == 'addjournalmatch':
|
||||
journalmatch = command[3]
|
||||
self.setJournalMatch(shlex.split(journalmatch))
|
||||
journalmatch = command[3:]
|
||||
self.setJournalMatch(journalmatch)
|
||||
elif command[2] == 'datepattern':
|
||||
datepattern = command[3]
|
||||
self.setDatePattern(datepattern)
|
||||
|
|
Loading…
Reference in New Issue