projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ec9a5
)
Mkae sure we show EAP-Message in the debug output
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 12 Aug 2010 13:59:29 +0000
(15:59 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 12 Aug 2010 14:58:49 +0000
(16:58 +0200)
src/modules/rlm_eap/radeapclient.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_eap/radeapclient.c
b/src/modules/rlm_eap/radeapclient.c
index
6b5b2df
..
4581feb
100644
(file)
--- a/
src/modules/rlm_eap/radeapclient.c
+++ b/
src/modules/rlm_eap/radeapclient.c
@@
-204,6
+204,8
@@
static int send_packet(RADIUS_PACKET *req, RADIUS_PACKET **rep)
for (i = 0; i < retries; i++) {
fd_set rdfdesc;
+ debug_packet(req, R_SENT);
+
rad_send(req, NULL, secret);
/* And wait for reply, timing out as necessary */
@@
-693,8
+695,6
@@
static int respond_eap_sim(RADIUS_PACKET *req,
*/
unmap_eapsim_types(req);
- debug_packet(req, R_SENT);
-
if((vp = pairfind(req->vps, ATTRIBUTE_EAP_SIM_SUBTYPE, 0)) == NULL)
{
return 0;
@@
-862,8
+862,6
@@
static int sendrecv_eap(RADIUS_PACKET *rep)
again:
rep->id++;
- debug_packet(rep, R_SENT);
-
/*
* if there are EAP types, encode them into an EAP-Message
*