diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-08 07:02:14 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-08 07:02:14 +0200 |
commit | 3d65f12e38f721ae37b65e058f0c59a24d6a6886 (patch) | |
tree | f671e3a40c4ab0afff006e1deafb122b80e5b7ad /src/conf_mode/interfaces-wirelessmodem.py | |
parent | 0587839ebead40290c97aeb713e8b47148e146c4 (diff) | |
download | vyos-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-wirelessmodem.py')
-rwxr-xr-x | src/conf_mode/interfaces-wirelessmodem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py index a93b20d27..49445aaa4 100755 --- a/src/conf_mode/interfaces-wirelessmodem.py +++ b/src/conf_mode/interfaces-wirelessmodem.py @@ -115,7 +115,7 @@ def get_config(): def verify(wwan): if wwan['deleted']: - interface = wwan['intfc'] + interface = wwan['intf'] is_member, bridge = is_bridge_member(interface) if is_member: # can not use a f'' formatted-string here as bridge would not get |