]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS client: Trigger failover more quickly if socket is not valid
authorJouni Malinen <j@w1.fi>
Fri, 30 May 2014 17:52:08 +0000 (20:52 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 May 2014 17:52:08 +0000 (20:52 +0300)
commitb5239736117b5f4af9d949bbd3cc7e98721dfcd7
tree46a664a34fafe1b6c95e937bf3eaf6d0c3588f96
parent09844c09843bda15759e258d9ac6377346446454
RADIUS client: Trigger failover more quickly if socket is not valid

It is possible for the connect() call to fail (e.g., due to unreachable
network based on local routing table), so the current auth/acct_sock may
be left to -1. Use that as an addition trigger to allow server failover
operation to be performed more quickly if it is known that the
retransmission attempt will not succeed anyway.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/radius/radius_client.c