You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2015/07/27 10:43:24 UTC
[36/50] [abbrv] git commit: updated refs/heads/reporter to 3e1816d
Sorry about the typo
Signed-off-by: wilderrodrigues <wr...@schubergphilis.com>
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 <fr...@openminds.be>
Authored: Wed Jul 22 17:15:32 2015 +0200
Committer: wilderrodrigues <wr...@schubergphilis.com>
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':