[firewall4] typo s/set/self/
This commit is contained in:
parent
87d971ac7e
commit
de8832a3f9
1 changed files with 1 additions and 1 deletions
|
@ -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, ...)"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue