Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98F861814C for ; Wed, 22 Jul 2015 07:21:24 +0000 (UTC) Received: (qmail 37504 invoked by uid 500); 22 Jul 2015 07:21:21 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 37445 invoked by uid 500); 22 Jul 2015 07:21:21 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 37434 invoked by uid 99); 22 Jul 2015 07:21:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 07:21:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D28B2E17F6; Wed, 22 Jul 2015 07:21:20 +0000 (UTC) From: resmo To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-8650: Fix securitygroups ingre... Content-Type: text/plain Message-Id: <20150722072120.D28B2E17F6@git1-us-west.apache.org> Date: Wed, 22 Jul 2015 07:21:20 +0000 (UTC) Github user resmo commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/601#discussion_r35187102 --- Diff: scripts/vm/network/security_group.py --- @@ -860,8 +860,10 @@ 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 and protocol != 'all': - if protocol != 'icmp': + if allow_any --- End diff -- missing ":" --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---