]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Force RADIUS socket renewal on RADIUS auth failures
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 16 Sep 2015 12:04:56 +0000 (14:04 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Oct 2015 22:27:29 +0000 (01:27 +0300)
commite5d34da25acb59daee215ea1fb4a49338430b341
treeacb53628a428d8dff1c8cca699a3d64a0459bd3c
parent681753f23cdcf636a6bfcde275e79c716a849c62
hostapd: Force RADIUS socket renewal on RADIUS auth failures

On RADIUS auth/acct failures hostapd will try a new server if one is
available. Reuse the failover logic to force a socket renewal if only
one RADIUS server is configured.

This fixes problems when a route for the RADIUS server gets added after
the socket was "connected". The RADIUS socket is still sending the
RADIUS requests out using the previous route.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
src/radius/radius_client.c