diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-24 18:33:42 +0000 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-24 18:33:42 +0000 |
commit | 1a57edcb8e3052a70296808d394c3d166bcda275 (patch) | |
tree | bc8032579545e8233d6c3f6be578d49f41e7ae8c /python/vyos/ifconfig/wireless.py | |
parent | 8f02c42286ba92f1aa54502ebb22acd67c2a934d (diff) | |
download | vyos-1x-1a57edcb8e3052a70296808d394c3d166bcda275.tar.gz vyos-1x-1a57edcb8e3052a70296808d394c3d166bcda275.zip |
ifconfig: T2057: convert VLAN to adapter
Diffstat (limited to 'python/vyos/ifconfig/wireless.py')
-rw-r--r-- | python/vyos/ifconfig/wireless.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/wireless.py b/python/vyos/ifconfig/wireless.py index f94509c80..a1f50b71d 100644 --- a/python/vyos/ifconfig/wireless.py +++ b/python/vyos/ifconfig/wireless.py @@ -16,11 +16,12 @@ import os from vyos.ifconfig.interface import Interface -from vyos.ifconfig.vlan import VLANIf +from vyos.ifconfig.vlan import VLAN @Interface.register -class WiFiIf(VLANIf): +@VLAN.enable +class WiFiIf(Interface): """ Handle WIFI/WLAN interfaces. """ |