Commit 8cf3d733 authored by Valentin Samir's avatar Valentin Samir

[firewall4] Oublis, reremplis ipset soft si restart et divers

parent 4d16e0af
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment