summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
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}"!')