projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8c6d3
)
Don't "originate" CoA requests if the packet is a CoA request.
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 19 Jul 2010 19:49:38 +0000
(21:49 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 19 Jul 2010 21:52:29 +0000
(23:52 +0200)
Instead, the user should *proxy* the CoA request.
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
24975af
..
655d65f
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-2562,6
+2562,8
@@
static void request_post_handler(REQUEST *request)
* if it wasn't proxied.
*/
if (!request->proxy &&
+ (request->packet->code != PW_COA_REQUEST) &&
+ (request->packet->code != PW_DISCONNECT_REQUEST) &&
(request->coa ||
(pairfind(request->config_items, PW_SEND_COA_REQUEST, 0) != NULL))) {
if (!originated_coa_request(request)) {