mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
fix jail problem
When checking against the ignoreip list, you obviously have to use the ip and not id. One testcase still fails though.
This commit is contained in:
parent
6eb17a5602
commit
fffa65c249
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ class Jail(object):
|
|||
# mark ticked was restored from database - does not put it again into db:
|
||||
ticket.restored = True
|
||||
#logSys.debug('restored ticket: %s', ticket)
|
||||
if self.filter._inIgnoreIPList(ticket.getID(), ticket): continue
|
||||
if self.filter._inIgnoreIPList(ticket.getIP(), ticket): continue
|
||||
# correct start time / ban time (by the same end of ban):
|
||||
btm = ticket.getBanTime(forbantime)
|
||||
diftm = MyTime.time() - ticket.getTime()
|
||||
|
|
|
|||
Loading…
Reference in a new issue