summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-10 21:02:14 +0100
committerGitHub <noreply@github.com>2024-01-10 21:02:14 +0100
commit7c6cb9829356d07c3cfa865eff7f60c24d982d6e (patch)
tree90fec1ec4e49c75b530c000ecb2b62a8a1d40a11 /src
parentaebb458262072457c6a3840d1b17031fbd780eca (diff)
parent8452d8f49216d224bc5d5751354414274982f5be (diff)
downloadvyos-1x-7c6cb9829356d07c3cfa865eff7f60c24d982d6e.tar.gz
vyos-1x-7c6cb9829356d07c3cfa865eff7f60c24d982d6e.zip
Merge pull request #2791 from sever-sever/T5918
T5918: Fix typo in verify vpn ipsec interface
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/vpn_ipsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py
index 5bdcf2fa1..adbac0405 100755
--- a/src/conf_mode/vpn_ipsec.py
+++ b/src/conf_mode/vpn_ipsec.py
@@ -159,7 +159,7 @@ def verify(ipsec):
if 'id' not in psk_config or 'secret' not in psk_config:
raise ConfigError(f'Authentication psk "{psk}" missing "id" or "secret"')
- if 'interfaces' in ipsec :
+ if 'interface' in ipsec:
for ifname in ipsec['interface']:
verify_interface_exists(ifname)