summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-20 20:13:06 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-20 20:13:06 +0100
commit9acc0a98a1424b4bb5ce0fea4a441008da3877b8 (patch)
tree40df671598389a68e0266c8996db42162fa69725 /src/conf_mode
parentf23b73fdd35551960dc958cd42c953fcf52a0e75 (diff)
downloadvyos-1x-9acc0a98a1424b4bb5ce0fea4a441008da3877b8.tar.gz
vyos-1x-9acc0a98a1424b4bb5ce0fea4a441008da3877b8.zip
bridge: T2320: fix to tunnel
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 be0279bd2..2ab75fcec 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -434,7 +434,7 @@ def verify(conf):
if ifname in options['nhrp']:
raise ConfigError(f'Can not delete interface tunnel {iftype} {ifname}, it is used by nhrp')
- bridge = changes['bridge']
+ bridge = options['bridge']
if bridge:
raise ConfigError(f'Interface "{ifname}" can not be deleted as it belongs to bridge "{bridge}"!')