]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS client: Print a clear debug log entry if socket is not available
authorJouni Malinen <j@w1.fi>
Sun, 23 Nov 2014 15:06:24 +0000 (17:06 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Nov 2014 15:41:13 +0000 (17:41 +0200)
commitb81e274cdf72a0a21ba44572775db4072d8cad2a
tree9ea0086d9d04da59f9dab6855bab390580a4f677
parentf931374f301dd16f4fce39db0fc330cb21a679f8
RADIUS client: Print a clear debug log entry if socket is not available

It could have been possible to select a socket that is not open
(sel_sock == -1) and try to use that in socket operations. This would
fail with potentially confusing error messages. Make this clearer by
printing a clear debug log entry on socket not being available.
(CID 72696)

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