[firewall4] La liste d'ip donnée par générate est incomplète
This commit is contained in:
parent
d447b9546b
commit
dd83999ddd
2 changed files with 11 additions and 5 deletions
|
@ -96,7 +96,7 @@ class Ipset(object):
|
|||
self.flush()
|
||||
if self.squeeze:
|
||||
self.destroy()
|
||||
except IpsetError: pass
|
||||
except IpsetError as error: sys.stderr.write("%s\n" % error)
|
||||
cmd="cat %s | %s -R" % (path,self.ipset)
|
||||
status,output=commands.getstatusoutput(cmd)
|
||||
if status:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue