mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
fixed typo in comparison by build of stream from filter options (see #4066)
This commit is contained in:
parent
7bac839603
commit
3f78f1520b
1 changed files with 1 additions and 1 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue