summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-08 20:17:50 +0100
committerGitHub <noreply@github.com>2023-03-08 20:17:50 +0100
commite1ea2f826ce7b9e8bfe6be4d3814a456e04963f1 (patch)
tree70f0fbc1fcb9a85bb1552849f00e4844058dec47 /src/conf_mode
parentcb872efb5b8dac9c9095502bbb14e858d07dfef3 (diff)
parente63ade27c14b1988ec5abb555810ff439f92b4b4 (diff)
downloadvyos-1x-e1ea2f826ce7b9e8bfe6be4d3814a456e04963f1.tar.gz
vyos-1x-e1ea2f826ce7b9e8bfe6be4d3814a456e04963f1.zip
Merge pull request #1875 from sever-sever/T5066
T5066: Fix GRE tunnel variable name which checks keys
Diffstat (limited to 'src/conf_mode')
-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)