summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-tunnel.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-20 21:18:33 +0200
committerGitHub <noreply@github.com>2020-04-20 21:18:33 +0200
commita972177723c523e1b2fc41fc6e4c37e8ae96e3c2 (patch)
tree40df671598389a68e0266c8996db42162fa69725 /src/conf_mode/interfaces-tunnel.py
parentf23b73fdd35551960dc958cd42c953fcf52a0e75 (diff)
parent9acc0a98a1424b4bb5ce0fea4a441008da3877b8 (diff)
downloadvyos-1x-a972177723c523e1b2fc41fc6e4c37e8ae96e3c2.tar.gz
vyos-1x-a972177723c523e1b2fc41fc6e4c37e8ae96e3c2.zip
Merge pull request #362 from thomas-mangin/T2320-fix
bridge: T2320: fix to tunnel
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 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}"!')