Skip to content

Commit

Permalink
CID #1103872
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Apr 26, 2014
1 parent 801deae commit 6bc0217
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/rlm_eap/radeapclient.c
Expand Up @@ -196,7 +196,10 @@ static int send_packet(RADIUS_PACKET *req, RADIUS_PACKET **rep)

debug_packet(req, R_SENT);

rad_send(req, NULL, secret);
if (rad_send(req, NULL, secret) < 0) {
fr_perror("Failed sending packet:");
exit(1);
}

/* And wait for reply, timing out as necessary */
FD_ZERO(&rdfdesc);
Expand Down

0 comments on commit 6bc0217

Please sign in to comment.