[firewall4] Oublis, reremplis ipset soft si restart et divers
This commit is contained in:
parent
4d16e0aff6
commit
8cf3d7332a
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ if __name__ == '__main__' :
|
|||
chaines = fw.reloadable.keys()
|
||||
|
||||
def __usage(txt=None) :
|
||||
if txt!=None : cprint(txt,'gras')
|
||||
if txt!=None : utils.cprint(txt,'gras')
|
||||
|
||||
chaines.sort()
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ class firewall(base.firewall_routeur):
|
|||
|
||||
mac_ip_chain = self.test_mac_ip()
|
||||
blacklist_hard_chain = self.blacklist_hard()
|
||||
blacklist_soft_chain = self.blacklist_soft(table)
|
||||
blacklist_soft_chain = self.blacklist_soft(table, fill_ipset=True)
|
||||
|
||||
chain = 'INPUT'
|
||||
self.flush(table, chain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue