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