projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b15fa
)
If we have no response, don't send one on client retransmit
author
Alan T. DeKok
<aland@freeradius.org>
Fri, 13 Mar 2009 08:26:36 +0000
(09:26 +0100)
committer
Alan T. DeKok
<aland@freeradius.org>
Fri, 13 Mar 2009 08:26:36 +0000
(09:26 +0100)
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
0a233c1
..
365b4ad
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-2537,6
+2537,14
@@
static void received_retransmit(REQUEST *request, const RADCLIENT *client)
case REQUEST_CLEANUP_DELAY:
case REQUEST_DONE:
+ if (request->reply->code == 0) {
+ RDEBUG2("Ignoring retransmit from client %s port %d "
+ "- ID: %d, no reply was configured",
+ client->shortname,
+ request->packet->src_port, request->packet->id);
+ return;
+ }
+
/*
* FIXME: This sends duplicate replies to
* accounting requests, even if Acct-Delay-Time