We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents edc586e + 4f1539e commit 1828d37Copy full SHA for 1828d37
systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
@@ -167,7 +167,7 @@ def compare(self, list):
167
cpy = cpy.replace('-A', '-I')
168
if isinstance(fw[1], int):
169
# if the rule is for ACLs, we want to insert them in order, right before the DROP all
170
- if rule_chain.startswith("ACL_INBOUND"):
+ if rule_chain.startswith("ACL_INBOUND") or rule_chain.startswith("ACL_OUTBOUND"):
171
rule_count = self.chain.get_count(rule_chain)
172
cpy = cpy.replace("-A %s" % new_rule.get_chain(), '-I %s %s' % (new_rule.get_chain(), rule_count))
173
else:
0 commit comments