[firewall6] bug de la chaine vide
Ignore-this: d68925ea8629c3b1a9538048ecbffa32 darcs-hash:20111118010958-28565-0555ad9fcefc194842e30b425086d8832a1c5fba.gz
This commit is contained in:
parent
df9794f45e
commit
52d2f752ca
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,7 @@ def write_rules(ipt):
|
||||||
for ichain in filter(not_private,
|
for ichain in filter(not_private,
|
||||||
dir(ipt.__getattribute__(itables))):
|
dir(ipt.__getattribute__(itables))):
|
||||||
if ichain.upper() not in default_chains:
|
if ichain.upper() not in default_chains:
|
||||||
if ipt.__getattribute__(itables).__getattribute__(ichain).items:
|
if hasattr(ipt.__getattribute__(itables).__getattribute__(ichain),'items'):
|
||||||
output[itables] += ":%s - [0:0]\n" % ichain.upper()
|
output[itables] += ":%s - [0:0]\n" % ichain.upper()
|
||||||
|
|
||||||
# On ajoute maintenant les règles
|
# On ajoute maintenant les règles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue