From c91aa0b39e7df39cba76977615039c946a20b0a4 Mon Sep 17 00:00:00 2001 From: glondu Date: Thu, 11 May 2006 16:08:15 +0200 Subject: [PATCH] class_id doit etre un entier. darcs-hash:20060511140815-68412-43c37b62514952f17ab99277b1f6b0af08dd46cf.gz --- gestion/gen_confs/firewall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/firewall.py b/gestion/gen_confs/firewall.py index b55a2e4d..9fe80ef5 100755 --- a/gestion/gen_confs/firewall.py +++ b/gestion/gen_confs/firewall.py @@ -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'