mirror of
https://github.com/fail2ban/fail2ban.git
synced 2025-11-26 14:20:19 +08:00
fixed typo in comparison by build of stream from filter options (see #4066)
This commit is contained in:
@@ -89,7 +89,7 @@ class FilterReader(DefinitionInitConfigReader):
|
||||
stream.insert(0 if opt == 'usedns' else prio0idx,
|
||||
["set", jailName, opt, value])
|
||||
prio0idx += 1
|
||||
elif opt in ('datepattern'):
|
||||
elif opt == 'datepattern':
|
||||
stream.append(["set", jailName, opt, value])
|
||||
elif opt == 'journalmatch':
|
||||
for match in value.split("\n"):
|
||||
|
||||
Reference in New Issue
Block a user