summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireless.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-08 07:02:14 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-08 07:02:14 +0200
commit3d65f12e38f721ae37b65e058f0c59a24d6a6886 (patch)
treef671e3a40c4ab0afff006e1deafb122b80e5b7ad /src/conf_mode/interfaces-wireless.py
parent0587839ebead40290c97aeb713e8b47148e146c4 (diff)
downloadvyos-1x-3d65f12e38f721ae37b65e058f0c59a24d6a6886.tar.gz
vyos-1x-3d65f12e38f721ae37b65e058f0c59a24d6a6886.zip
bridge: T2232: bugfix wifi and wwan verify() section
Commit fcce471 ("bridge: T2232: prevent deletion of enslaved interfaces") added a regression by referencing a wrong variable name.
Diffstat (limited to 'src/conf_mode/interfaces-wireless.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 4c70b1478..709085b0f 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -554,7 +554,7 @@ def get_config():
def verify(wifi):
if wifi['deleted']:
- interface = wifi['intfc']
+ interface = wifi['intf']
is_member, bridge = is_bridge_member(interface)
if is_member:
# can not use a f'' formatted-string here as bridge would not get