Sorry about the typo Signed-off-by: wilderrodrigues <[email protected]>
This closes #601 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d8f37c5e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d8f37c5e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d8f37c5e Branch: refs/heads/reporter Commit: d8f37c5e173f90a35864ca5186ed045e9f0adaff Parents: 4705d75 Author: Frank Louwers <[email protected]> Authored: Wed Jul 22 17:15:32 2015 +0200 Committer: wilderrodrigues <[email protected]> Committed: Thu Jul 23 08:36:05 2015 +0200 ---------------------------------------------------------------------- scripts/vm/network/security_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d8f37c5e/scripts/vm/network/security_group.py ---------------------------------------------------------------------- diff --git a/scripts/vm/network/security_group.py b/scripts/vm/network/security_group.py index c4a6753..31984d2 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':
