aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-04-27 09:30:09 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-27 09:30:09 (GMT)
commit4a7ce984690d373484fcef388b468e034e448c92 (patch)
tree91fa6b18afab9090dccfde04f49c98e167931022 /hostapd/config_file.c
parent9f390f431c47bfbde7f97425c0b5e8cf336b4701 (diff)
downloadhostap-4a7ce984690d373484fcef388b468e034e448c92.zip
hostap-4a7ce984690d373484fcef388b468e034e448c92.tar.gz
hostap-4a7ce984690d373484fcef388b468e034e448c92.tar.bz2
Make IPv6 NA multicast-to-unicast conversion configurable
This can be used with Proxy ARP to allow multicast NAs to be forwarded to associated STAs using link layer unicast delivery. This used to be hardcoded to be enabled, but it is now disabled by default and can be enabled with na_mcast_to_ucast=1. This functionality may not be desired in all networks and most cases work without it, so the new default-to-disabled is more appropriate. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 1186644..4976966 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3138,6 +3138,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
bss->disable_dgaf = atoi(pos);
} else if (os_strcmp(buf, "proxy_arp") == 0) {
bss->proxy_arp = atoi(pos);
+ } else if (os_strcmp(buf, "na_mcast_to_ucast") == 0) {
+ bss->na_mcast_to_ucast = atoi(pos);
} else if (os_strcmp(buf, "osen") == 0) {
bss->osen = atoi(pos);
} else if (os_strcmp(buf, "anqp_domain_id") == 0) {