From e63ade27c14b1988ec5abb555810ff439f92b4b4 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 8 Mar 2023 13:31:28 +0000 Subject: T5066: Fix GRE tunnel variable name which checks keys --- src/conf_mode/interfaces-tunnel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3