summaryrefslogtreecommitdiff
path: root/data/templates/wifi/hostapd_accept_station.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/wifi/hostapd_accept_station.conf.j2')
-rw-r--r--data/templates/wifi/hostapd_accept_station.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/wifi/hostapd_accept_station.conf.j2 b/data/templates/wifi/hostapd_accept_station.conf.j2
new file mode 100644
index 000000000..a381c947c
--- /dev/null
+++ b/data/templates/wifi/hostapd_accept_station.conf.j2
@@ -0,0 +1,7 @@
+# List of MAC addresses that are allowed to authenticate (IEEE 802.11)
+# with the AP
+{% if security.station_address.accept.mac is vyos_defined %}
+{% for mac in security.station_address.accept.mac %}
+{{ mac | lower }}
+{% endfor %}
+{% endif %}