diff --git a/systemvm/debian/opt/cloud/bin/cs/CsAddress.py b/systemvm/debian/opt/cloud/bin/cs/CsAddress.py index 0bc5d44ac531..afc1107a618e 100755 --- a/systemvm/debian/opt/cloud/bin/cs/CsAddress.py +++ b/systemvm/debian/opt/cloud/bin/cs/CsAddress.py @@ -498,7 +498,7 @@ def fw_vpcrouter(self): if not inf.startswith("eth"): continue for address in addresses: - if "nw_type" in address and address["nw_type"] == "guest": + if "nw_type" in address and address["nw_type"] == "guest" and address["add"]: self.fw.append(["filter", "front", "-A FORWARD -s %s -d %s -j ACL_INBOUND_%s" % (address["network"], self.address["network"], self.dev)]) self.fw.append(["filter", "front", "-A FORWARD -s %s -d %s -j ACL_INBOUND_%s" %