diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-10 22:20:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 22:20:43 +0200 |
commit | 348892a97be2c2dfb810422fb94fe4eabe5d6a42 (patch) | |
tree | 7e957495cf431604970c81f6120e4dc7a880d089 | |
parent | 3eaf0ca3978aa93ece14c267e5ed9d1bcae3875f (diff) | |
parent | 60127f12d6bd4fa9fb869167bd3582bbb9c5c19f (diff) | |
download | vyos-1x-348892a97be2c2dfb810422fb94fe4eabe5d6a42.tar.gz vyos-1x-348892a97be2c2dfb810422fb94fe4eabe5d6a42.zip |
Merge pull request #2792 from vyos/mergify/bp/sagitta/pr-2791
T5918: Fix typo in verify vpn ipsec interface (backport #2791)
-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) |