From 609ce7d564b0069f56a41b2ead69f70b01ece62f Mon Sep 17 00:00:00 2001 From: glondu Date: Mon, 27 Mar 2006 16:26:35 +0200 Subject: [PATCH] Plus ncessaire. darcs-hash:20060327142635-68412-05026a6eff274916390ebdfab16c98d618109c80.gz --- gestion/gen_confs/firewall.py | 1 - 1 file changed, 1 deletion(-) 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))