aboutsummaryrefslogtreecommitdiff
path: root/contrib/hostapd/radius_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hostapd/radius_client.c')
-rw-r--r--contrib/hostapd/radius_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hostapd/radius_client.c b/contrib/hostapd/radius_client.c
index e17377549168..dc69ca927397 100644
--- a/contrib/hostapd/radius_client.c
+++ b/contrib/hostapd/radius_client.c
@@ -506,7 +506,7 @@ static void radius_client_receive(int sock, void *eloop_ctx, void *sock_ctx)
rconf = hapd->conf->auth_server;
}
- len = recv(sock, buf, sizeof(buf), 0);
+ len = recv(sock, buf, sizeof(buf), MSG_DONTWAIT);
if (len < 0) {
perror("recv[RADIUS]");
return;