diff --git a/gestion/gen_confs/firewall.py b/gestion/gen_confs/firewall.py index 1b07f943..85dd0832 100755 --- a/gestion/gen_confs/firewall.py +++ b/gestion/gen_confs/firewall.py @@ -617,7 +617,6 @@ class firewall_komaz(firewall_crans) : 'udp' : machine.portUDPout() } for proto in [ 'tcp', 'udp' ] : - if not ports[proto]: ports[proto] = ':' for port in ports[proto]: iptables("-I SERVEURS_VERS_EXT -s %s -p %s --dport %s -m mac --mac-source %s -j ACCEPT" \ %(ip,proto,port,mac))