]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/ap_config.h
hostapd: Fix configuration of multiple RADIUS servers with SET
authorJouni Malinen <j@w1.fi>
Fri, 30 May 2014 17:40:11 +0000 (20:40 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 May 2014 17:40:11 +0000 (20:40 +0300)
commit5d67bf1566d22542e95c90c9394e372184b0831f
tree928ceef08d73af82cb6650e63acb346212549b71
parent6a188ba3fc2b0f974419b35ae2f627932fcd8b02
hostapd: Fix configuration of multiple RADIUS servers with SET

The current RADIUS server pointer was updated after each SET command
which broke parsing of multiple RADIUS servers over the control
interface. Fix this by doing the final RADIUS server pointer updates
only once the full configuration is available.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/config_file.c
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/hostapd.c