summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-07-31 10:06:56 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-07-31 10:06:56 +0000
commit96a89fee625b77d05b2f757f804f189bf486d7ec (patch)
tree26d40385a16d589134f34c15cc65b4f3bfe76b96 /python/vyos
parent1a44d8607f715934f2c03f28a9bf547321b26ed8 (diff)
downloadvyos-1x-96a89fee625b77d05b2f757f804f189bf486d7ec.tar.gz
vyos-1x-96a89fee625b77d05b2f757f804f189bf486d7ec.zip
T5416: fix ipsec matcher
Diffstat (limited to 'python/vyos')
-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: