hostapd: fix an error on parsing radius_das_client
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
14eb09d5c0
commit
ca6375ac51
@ -0,0 +1,10 @@
|
|||||||
|
--- a/hostapd/config_file.c
|
||||||
|
+++ b/hostapd/config_file.c
|
||||||
|
@@ -645,6 +645,7 @@ static int hostapd_parse_das_client(stru
|
||||||
|
if (secret == NULL)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
+ *secret = 0;
|
||||||
|
secret++;
|
||||||
|
|
||||||
|
if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr))
|
@ -1,6 +1,6 @@
|
|||||||
--- a/hostapd/config_file.c
|
--- a/hostapd/config_file.c
|
||||||
+++ b/hostapd/config_file.c
|
+++ b/hostapd/config_file.c
|
||||||
@@ -2861,6 +2861,10 @@ static int hostapd_config_fill(struct ho
|
@@ -2862,6 +2862,10 @@ static int hostapd_config_fill(struct ho
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_IEEE80211W */
|
#endif /* CONFIG_IEEE80211W */
|
||||||
#ifdef CONFIG_IEEE80211N
|
#ifdef CONFIG_IEEE80211N
|
||||||
|
Loading…
Reference in New Issue
Block a user