summaryrefslogtreecommitdiff
path: root/data/templates/wifi
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-05 08:47:54 +0200
committerChristian Breunig <christian@breunig.cc>2024-07-05 08:53:48 +0200
commit0c9499c5b3f7cc053c1f29ecf28d679c1a3156e2 (patch)
treef8fa3c702a2fda9c96fb19645dd2e4c4637f3f56 /data/templates/wifi
parent5a6ac65fe0684fc5298de3daa8582294ac387b46 (diff)
downloadvyos-1x-0c9499c5b3f7cc053c1f29ecf28d679c1a3156e2.tar.gz
vyos-1x-0c9499c5b3f7cc053c1f29ecf28d679c1a3156e2.zip
wireless: T6496: use mac-address validator on BSSID and move it up one CLI level
Diffstat (limited to 'data/templates/wifi')
-rw-r--r--data/templates/wifi/wpa_supplicant.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/wifi/wpa_supplicant.conf.j2 b/data/templates/wifi/wpa_supplicant.conf.j2
index 8839663e1..04088e1ad 100644
--- a/data/templates/wifi/wpa_supplicant.conf.j2
+++ b/data/templates/wifi/wpa_supplicant.conf.j2
@@ -89,7 +89,7 @@ network={
key_mgmt=NONE
{% endif %}
{% endif %}
-{% if security.bssid is vyos_defined %}
- bssid={{ security.bssid }}
+{% if bssid is vyos_defined %}
+ bssid={{ bssid }}
{% endif %}
}