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'