Commit 72e8cd84 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Tests - Tools - Firewall Agent:

- Skipped counter rule entry types
parent 19c6585f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)