hostapd: Fix parsing the das_client option
authorFelix Fietkau <nbd@nbd.name>
Tue, 26 Jul 2016 11:29:37 +0000 (13:29 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 13 Aug 2016 07:48:28 +0000 (10:48 +0300)
commit79931efa0de018b287756b6d37a86acfc8dd2468
treebf037b99ed3d1e2402c54b8d51921314b50b7166
parent4fe726e2d784199cedb7cdf4c8dc592a22fc2380
hostapd: Fix parsing the das_client option

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@nbd.name>
hostapd/config_file.c