summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 3da057e91..3d4da10da 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -1406,9 +1406,9 @@ def apply(wifi):
# assign to VRF
if wifi['vrf']:
- d.add_vrf(wifi['vrf'])
+ w.add_vrf(wifi['vrf'])
else:
- d.del_vrf(wifi['vrf'])
+ w.del_vrf(wifi['vrf'])
# Change interface MAC address - re-set to real hardware address (hw-id)
# if custom mac is removed