diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-05 14:50:53 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-05 14:50:53 +0200 |
commit | c4133d2807be907f1508d8690696101649020065 (patch) | |
tree | 46b2dc47386006b6951d37c6c5433930fa71a8b4 | |
parent | 2a16c8e3f9767b1754c14e8f596a74e4bb5de72a (diff) | |
download | vyos-1x-c4133d2807be907f1508d8690696101649020065.tar.gz vyos-1x-c4133d2807be907f1508d8690696101649020065.zip |
wireless: T1627: add imports from netaddr
Commit 3d978249b313 ("wireless: T1627: move Jinja2 templates to data/templates
folder") remove a wildcard import statement which is required for MAC address
modification for the AP.
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index b6a22695d..bf8552bc1 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -23,6 +23,7 @@ from jinja2 import FileSystemLoader, Environment from subprocess import Popen, PIPE from netifaces import interfaces +from netaddr import EUI, mac_unix_expanded from vyos.config import Config from vyos.configdict import list_diff, vlan_to_dict |