Loading src/tests/tools/firewall_agent/firewall_agent/resources/nft_model/Rule.py +2 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,8 @@ class Rule: parse_nft_match(rule, match) elif expr_entry_type in {'accept', 'drop', 'reject'}: rule.action = get_action_from_str(expr_entry_type) elif expr_entry_type in {'counter'}: pass # ignore these entry types else: raise UnsupportedElementException('expr_entry', expr_entry) Loading Loading
src/tests/tools/firewall_agent/firewall_agent/resources/nft_model/Rule.py +2 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,8 @@ class Rule: parse_nft_match(rule, match) elif expr_entry_type in {'accept', 'drop', 'reject'}: rule.action = get_action_from_str(expr_entry_type) elif expr_entry_type in {'counter'}: pass # ignore these entry types else: raise UnsupportedElementException('expr_entry', expr_entry) Loading