From d2f7dc05217992a23eaf4e017db8ee7b92b63569 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Fri, 15 Jul 2005 14:07:08 +0000 Subject: [PATCH] - 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 --- firewall/firewall.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firewall/firewall.py b/firewall/firewall.py index 66034e18..9b072c78 100644 --- a/firewall/firewall.py +++ b/firewall/firewall.py @@ -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.