diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-30 07:15:29 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-30 07:15:29 +0200 |
commit | 3a46ad00f55873e1372f24a01f3c2698e6568623 (patch) | |
tree | 40b2a847dad26c3e498fd1ac13f442bdbe48489f | |
parent | 5c0908bab363152a19f6aaf023b4852bd54a47ac (diff) | |
download | vyos-1x-3a46ad00f55873e1372f24a01f3c2698e6568623.tar.gz vyos-1x-3a46ad00f55873e1372f24a01f3c2698e6568623.zip |
wireless: T2057: fix missing rename of set_state() -> set_admin_state()
Commit 627d1c704c83 ("ifconfig: T2057: explicity name state functions")
introduced a new API naming, unfortunately this was nod added for wireless
interfaces.
-rw-r--r-- | python/vyos/ifconfig/wireless.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/wireless.py b/python/vyos/ifconfig/wireless.py index 932d07d01..946ae1642 100644 --- a/python/vyos/ifconfig/wireless.py +++ b/python/vyos/ifconfig/wireless.py @@ -47,7 +47,7 @@ class WiFiIf(Interface): self._cmd(cmd) # wireless interface is administratively down by default - self.set_state('down') + self.set_admin_state('down') def _delete(self): cmd = 'iw dev {ifname} del' \ |