summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireless.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-14 21:39:22 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-14 21:50:57 +0200
commit4552f523c3252008ecdde99118fb52e4e2bc4f1f (patch)
tree082cbddecb7f691fab156ae8b66581f871c29ce6 /src/conf_mode/interfaces-wireless.py
parentf039693530999599837b1a41cdcf0e3f1842c7ce (diff)
downloadvyos-1x-4552f523c3252008ecdde99118fb52e4e2bc4f1f.tar.gz
vyos-1x-4552f523c3252008ecdde99118fb52e4e2bc4f1f.zip
wifi: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/interfaces-wireless.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 500952df1..7fc22cdab 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -244,11 +244,11 @@ def generate(wifi):
# render appropriate new config files depending on access-point or station mode
if wifi['type'] == 'access-point':
- render(hostapd_conf.format(**wifi), 'wifi/hostapd.conf.tmpl',
+ render(hostapd_conf.format(**wifi), 'wifi/hostapd.conf.j2',
wifi)
elif wifi['type'] == 'station':
- render(wpa_suppl_conf.format(**wifi), 'wifi/wpa_supplicant.conf.tmpl',
+ render(wpa_suppl_conf.format(**wifi), 'wifi/wpa_supplicant.conf.j2',
wifi)
return None