Plus ncessaire.

darcs-hash:20060327142635-68412-05026a6eff274916390ebdfab16c98d618109c80.gz
This commit is contained in:
glondu 2006-03-27 16:26:35 +02:00
parent 5ddcc97c26
commit 609ce7d564

View file

@ -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))