class_id doit etre un entier.
darcs-hash:20060511140815-68412-43c37b62514952f17ab99277b1f6b0af08dd46cf.gz
This commit is contained in:
parent
be5c2cbc50
commit
c91aa0b39e
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ class firewall_komaz(firewall_crans) :
|
|||
# On sélectionne la première qui doit contenir ce que l'on veut
|
||||
regle = regles[0].split()
|
||||
mark = regle[7]
|
||||
class_id = mark.split(':')[1]
|
||||
class_id = int(mark.split(':')[1])
|
||||
elif len(recherche) == 1 :
|
||||
# Il faut ajouter cette entrée
|
||||
iptables_option = '-A'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue