Sorry about the typo

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #601
This commit is contained in:
Frank Louwers 2015-07-22 17:15:32 +02:00 committed by wilderrodrigues
parent 4705d75d4a
commit d8f37c5e17

View File

@ -860,7 +860,7 @@ def add_network_rules(vm_name, vm_id, vm_ip, signature, seqno, vmMac, rules, vif
for ip in ips:
execute("iptables -I " + vmchain + " -p icmp --icmp-type " + range + " " + direction + " " + ip + " -j "+ action)
if allow_any
if allow_any:
if protocol == 'all':
execute("iptables -I " + vmchain + " -m state --state NEW " + direction + " 0.0.0.0/0 -j "+action)
elif protocol != 'icmp':