mirror of https://github.com/fail2ban/fail2ban
- Bantime was not used in the log reader
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@57 a942ae1a-1317-0410-a47c-b1dcaea8d6050.6
parent
2b5812ef9b
commit
c7947c68e9
|
@ -365,7 +365,7 @@ if __name__ == "__main__":
|
||||||
for t in confReader.getSections():
|
for t in confReader.getSections():
|
||||||
l = confReader.getLogOptions(t)
|
l = confReader.getLogOptions(t)
|
||||||
lObj = LogReader(logSys, l["logfile"], l["timeregex"],
|
lObj = LogReader(logSys, l["logfile"], l["timeregex"],
|
||||||
l["timepattern"], l["failregex"])
|
l["timepattern"], l["failregex"], conf["bantime"])
|
||||||
lObj.openLogFile()
|
lObj.openLogFile()
|
||||||
logList.append(lObj)
|
logList.append(lObj)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue