From 377f616d20dbeeb6870374341e6d1ab430c4b08e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 8 Mar 2020 17:33:04 +0100 Subject: vrf: T31: fix invalid variable reference With commit d61cab4 ("vrf: T31: enable vrf support for wireless interface") an unknown variable has been referenced. --- src/conf_mode/interfaces-wireless.py | 4 ++-- 1 file 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 -- cgit v1.2.3