aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-12-27 09:43:13 (GMT)
committerJouni Malinen <j@w1.fi>2016-12-27 09:43:13 (GMT)
commit9266d00bf991aa833285ad074d3ce6dc228d8321 (patch)
treeccd297cbd0e9add34a4a6cadc5a1297498e989a6 /src/ap
parent8628555f9b50d409fca44593c00470888c4eb286 (diff)
downloadhostap-9266d00bf991aa833285ad074d3ce6dc228d8321.zip
hostap-9266d00bf991aa833285ad074d3ce6dc228d8321.tar.gz
hostap-9266d00bf991aa833285ad074d3ce6dc228d8321.tar.bz2
hostapd: Reject invalid macaddr_acl value
Previously, this was noted in error log, but the invalid value was stored in the configuration without rejecting it. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/ap_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index c9cc22a..69801d3 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -293,7 +293,7 @@ struct hostapd_bss_config {
char iapp_iface[IFNAMSIZ + 1]; /* interface used with IAPP broadcast
* frames */
- enum {
+ enum macaddr_acl {
ACCEPT_UNLESS_DENIED = 0,
DENY_UNLESS_ACCEPTED = 1,
USE_EXTERNAL_RADIUS_AUTH = 2