summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-tunnel.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-03-08 13:31:28 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-03-08 13:31:28 +0000
commite63ade27c14b1988ec5abb555810ff439f92b4b4 (patch)
tree70f0fbc1fcb9a85bb1552849f00e4844058dec47 /src/conf_mode/interfaces-tunnel.py
parentcb872efb5b8dac9c9095502bbb14e858d07dfef3 (diff)
downloadvyos-1x-e63ade27c14b1988ec5abb555810ff439f92b4b4.tar.gz
vyos-1x-e63ade27c14b1988ec5abb555810ff439f92b4b4.zip
T5066: Fix GRE tunnel variable name which checks keys
Diffstat (limited to 'src/conf_mode/interfaces-tunnel.py')
-rwxr-xr-xsrc/conf_mode/interfaces-tunnel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py
index e2701d9d3..0a3726e94 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -136,7 +136,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)