Skip to content

Commit

Permalink
Merge pull request #2121 from nicolas-fort/T5416
Browse files Browse the repository at this point in the history
T5416: fix ipsec matcher
  • Loading branch information
c-po authored Jul 31, 2023
2 parents 1a44d86 + 96a89fe commit 6335bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/vyos/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def parse_rule(rule_conf, fw_name, rule_id, ip_name):
if 'ipsec' in rule_conf:
if 'match_ipsec' in rule_conf['ipsec']:
output.append('meta ipsec == 1')
if 'match_non_ipsec' in rule_conf['ipsec']:
if 'match_none' in rule_conf['ipsec']:
output.append('meta ipsec == 0')

if 'fragment' in rule_conf:
Expand Down

0 comments on commit 6335bbf

Please sign in to comment.