diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-06-04 23:57:02 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-06-04 23:57:02 +0200 |
commit | a7ca03799105fcea2bd5675db378e07ed855a13d (patch) | |
tree | e2f3b20cafdf66bdfd88c52e5495504d371f2f3d /src/conf_mode/vpn_ipsec.py | |
parent | 77866ccb16194a2446b2faccb52ec852aa882b96 (diff) | |
download | vyos-1x-a7ca03799105fcea2bd5675db378e07ed855a13d.tar.gz vyos-1x-a7ca03799105fcea2bd5675db378e07ed855a13d.zip |
ipsec: T2816: Fix typo from refactor
Diffstat (limited to 'src/conf_mode/vpn_ipsec.py')
-rwxr-xr-x | src/conf_mode/vpn_ipsec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py index c57697a8f..fb49f0105 100755 --- a/src/conf_mode/vpn_ipsec.py +++ b/src/conf_mode/vpn_ipsec.py @@ -321,8 +321,8 @@ def generate(ipsec): data['marks'][vti_interface] = get_mark(vti_interface) else: for tunnel, tunnel_conf in peer_conf['tunnel'].items(): - local_prefix = dict_search('local.prefix', tunnel_conf['local']['prefix']) - remote_prefix = dict_search('remote.prefix', tunnel_conf['remote']['prefix']) + local_prefix = dict_search('local.prefix', tunnel_conf) + remote_prefix = dict_search('remote.prefix', tunnel_conf) if not local_prefix or not remote_prefix: continue |