diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-09 09:16:56 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-09 09:16:56 +0000 |
commit | c2f3bb253d37de98eedc62a49eb8453be320d45e (patch) | |
tree | d12e4eade09bfed3bee7573d3572ed4088001223 /src | |
parent | b51352e6150e9d9989f351a3ca9bfc93e2965f2d (diff) | |
download | vyos-1x-c2f3bb253d37de98eedc62a49eb8453be320d45e.tar.gz vyos-1x-c2f3bb253d37de98eedc62a49eb8453be320d45e.zip |
T5066: Fix GRE tunnel variable name for verify check keys
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-tunnel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py index 3bfc7d665..681caff8e 100755 --- a/src/conf_mode/interfaces-tunnel.py +++ b/src/conf_mode/interfaces-tunnel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2018-2022 yOS maintainers and contributors +# Copyright (C) 2018-2023 yOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -115,7 +115,7 @@ def verify(tunnel): if our_key != None: if their_address == our_address and their_key == our_key: raise ConfigError(f'Key "{our_key}" for source-address "{our_address}" ' \ - f'is already used for tunnel "{tunnel_if}"!') + f'is already used for tunnel "{o_tunnel}"!') else: our_source_if = dict_search('source_interface', tunnel) their_source_if = dict_search('source_interface', o_tunnel_conf) |