summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 11:06:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 11:06:22 +0200
commitb91bcb58a31cf71bce524fd87d093c1069a2b58a (patch)
treef26c8e8e4abd0035a5670cae40a661ea06e80baa
parenta8999fda91619fe6fed0d3a99401d1a2e0895c50 (diff)
downloadvyos-1x-b91bcb58a31cf71bce524fd87d093c1069a2b58a.tar.gz
vyos-1x-b91bcb58a31cf71bce524fd87d093c1069a2b58a.zip
wireless: T1627: add missing import
Commit 3d978249b313c ("wireless: T1627: move Jinja2 templates to data/templates folder") made use of a new library function (chown_file) from vyos.util, unfortunately the required import was somehow not added into the patch.
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 85f784a2a..b6a22695d 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -29,7 +29,7 @@ from vyos.configdict import list_diff, vlan_to_dict
from vyos.defaults import directories as vyos_data_dir
from vyos.ifconfig import WiFiIf
from vyos.ifconfig_vlan import apply_vlan_config, verify_vlan_config
-from vyos.util import process_running, chmod_x
+from vyos.util import process_running, chmod_x, chown_file
from vyos import ConfigError
user = 'root'