mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Merge pull request #3532 from lade-odoo/master-restore_bans_with_full_ticket_info-lade
Restore bans from the database with full ticket information
This commit is contained in:
commit
48c91dfb6b
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ class Jail(object):
|
|||
):
|
||||
try:
|
||||
#logSys.debug('restored ticket: %s', ticket)
|
||||
if self.filter.inIgnoreIPList(ticket.getID(), log_ignore=True): continue
|
||||
if self.filter._inIgnoreIPList(ticket.getID(), ticket): continue
|
||||
# mark ticked was restored from database - does not put it again into db:
|
||||
ticket.restored = True
|
||||
# correct start time / ban time (by the same end of ban):
|
||||
|
|
|
|||
Loading…
Reference in a new issue