summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-31 13:36:45 +0200
committerGitHub <noreply@github.com>2023-07-31 13:36:45 +0200
commit6335bbfc79afa4562890cf6d79d1a141ffd87d52 (patch)
tree26d40385a16d589134f34c15cc65b4f3bfe76b96
parent1a44d8607f715934f2c03f28a9bf547321b26ed8 (diff)
parent96a89fee625b77d05b2f757f804f189bf486d7ec (diff)
downloadvyos-1x-6335bbfc79afa4562890cf6d79d1a141ffd87d52.tar.gz
vyos-1x-6335bbfc79afa4562890cf6d79d1a141ffd87d52.zip
Merge pull request #2121 from nicolas-fort/T5416
T5416: fix ipsec matcher
-rw-r--r--python/vyos/firewall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/firewall.py b/python/vyos/firewall.py
index 2793b201c..903cc8535 100644
--- a/python/vyos/firewall.py
+++ b/python/vyos/firewall.py
@@ -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: