From de8832a3f90288c5d539bef231c1acd03cea5f4f Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 23 Sep 2015 15:41:51 +0200 Subject: [PATCH] [firewall4] typo s/set/self/ --- gestion/gen_confs/firewall4/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/firewall4/base.py b/gestion/gen_confs/firewall4/base.py index bb3380cd..b161ecf4 100644 --- a/gestion/gen_confs/firewall4/base.py +++ b/gestion/gen_confs/firewall4/base.py @@ -131,7 +131,7 @@ class firewall(utils.firewall_tools) : def mac_ip_remove(self, mac, ip): machine = {'macAddress':[mac], 'ipHostNumber': [ip]} - self.test_mac_ip_dispatch(lambda set, data: set.ipset['mac_ip'][set].delete(data), machine) + self.test_mac_ip_dispatch(lambda set, data: self.ipset['mac_ip'][set].delete(data), machine) def test_mac_ip_dispatch(self, func, machine): """Détermine à quel set de mac-ip appliquer la fonction ``func`` (add, delete, append, ...)"""