diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-10 21:02:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 21:02:14 +0100 |
commit | 7c6cb9829356d07c3cfa865eff7f60c24d982d6e (patch) | |
tree | 90fec1ec4e49c75b530c000ecb2b62a8a1d40a11 /src/conf_mode | |
parent | aebb458262072457c6a3840d1b17031fbd780eca (diff) | |
parent | 8452d8f49216d224bc5d5751354414274982f5be (diff) | |
download | vyos-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/conf_mode')
-rwxr-xr-x | src/conf_mode/vpn_ipsec.py | 2 |
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) |