The musl implementation of inet_aton returns an error if there are any characters left after the IP address. When parsing the das_client, split the string at the whitespace separator to be able to parse the address successfully Signed-off-by: Felix Fietkau <nbd@xxxxxxxx> --- hostapd/config_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 6dc7e8c..c579b28 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -645,6 +645,7 @@ static int hostapd_parse_das_client(struct hostapd_bss_config *bss, if (secret == NULL) return -1; + *secret = 0; secret++; if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) -- 2.8.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap