mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Fixed banList which must not be static
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@139 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
6be14566e1
commit
d2f7dc0521
1 changed files with 1 additions and 2 deletions
|
|
@ -37,12 +37,11 @@ class Firewall:
|
|||
the IP.
|
||||
"""
|
||||
|
||||
banList = dict()
|
||||
|
||||
def __init__(self, banRule, unBanRule, banTime):
|
||||
self.banRule = banRule
|
||||
self.unBanRule = unBanRule
|
||||
self.banTime = banTime
|
||||
self.banList = dict()
|
||||
|
||||
def addBanIP(self, aInfo, debug):
|
||||
""" Bans an IP.
|
||||
|
|
|
|||
Loading…
Reference in a new issue