- 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
0.5
Cyril Jaquier 2005-07-15 14:07:08 +00:00
parent 6be14566e1
commit d2f7dc0521
1 changed files with 1 additions and 2 deletions

View File

@ -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.