diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-31 13:36:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 13:36:45 +0200 |
commit | 6335bbfc79afa4562890cf6d79d1a141ffd87d52 (patch) | |
tree | 26d40385a16d589134f34c15cc65b4f3bfe76b96 /python | |
parent | 1a44d8607f715934f2c03f28a9bf547321b26ed8 (diff) | |
parent | 96a89fee625b77d05b2f757f804f189bf486d7ec (diff) | |
download | vyos-1x-6335bbfc79afa4562890cf6d79d1a141ffd87d52.tar.gz vyos-1x-6335bbfc79afa4562890cf6d79d1a141ffd87d52.zip |
Merge pull request #2121 from nicolas-fort/T5416
T5416: fix ipsec matcher
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/firewall.py | 2 |
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: |