From d8f37c5e173f90a35864ca5186ed045e9f0adaff Mon Sep 17 00:00:00 2001 From: Frank Louwers Date: Wed, 22 Jul 2015 17:15:32 +0200 Subject: [PATCH] Sorry about the typo Signed-off-by: wilderrodrigues This closes #601 --- scripts/vm/network/security_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vm/network/security_group.py b/scripts/vm/network/security_group.py index c4a67536942..31984d2e87e 100755 --- a/scripts/vm/network/security_group.py +++ b/scripts/vm/network/security_group.py @@ -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':