mirror of https://github.com/fail2ban/fail2ban
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 actionreaderpull/220/head
commit
810a28f136
|
@ -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 New Issue