mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Merge branch 'actionreader-timeout' of https://github.com/kwirk/fail2ban into 0.9
* 'actionreader-timeout' of https://github.com/kwirk/fail2ban: BF: Fix for setting of timeout value via actionreader
This commit is contained in:
commit
810a28f136
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class ActionReader(DefinitionInitConfigReader):
|
|||
stream.append(head + ["actionunban", self._name, self._opts[opt]])
|
||||
if self._initOpts:
|
||||
if "timeout" in self._initOpts:
|
||||
stream.append(head + ["timeout", self._file, self._opts["timeout"]])
|
||||
stream.append(head + ["timeout", self._name, self._opts["timeout"]])
|
||||
# cInfo
|
||||
for p in self._initOpts:
|
||||
stream.append(head + ["setcinfo", self._name, p, self._initOpts[p]])
|
||||
|
|
|
|||
Loading…
Reference in a new issue