aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/110-fix_parse_das_client.patch
blob: 67fb899f30a6f9dbd04b89da28a3ed9fd6263fa6 (plain)
1
2
3
4
5
6
7
8
9
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))