Fixed sparse warnings about integer vs. pointer use
authorJouni Malinen <j@w1.fi>
Sat, 3 Jan 2009 18:46:32 +0000 (20:46 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 3 Jan 2009 18:46:32 +0000 (20:46 +0200)
commit5306f43fc3967da86728d28a6bc53f1b74dc3ae6
tree6acadd262ade7094d529d62159fda3fb711eff69
parentd953d9ab80262b85469e090b4e8124b8a9331057
Fixed sparse warnings about integer vs. pointer use

The configuration parsing functions seemed to have worked fine before,
but these were real bugs even if they did not show up in practice.
hostapd_ip_diff() was broken for IPv6 addresses (overwrote address and
always returned 1.
hostapd/config.c
src/utils/ip_addr.c