projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0231a48
)
request->proxy may be set for requests with inner tunnel
author
aland
<aland>
Sun, 14 Oct 2007 19:11:25 +0000
(19:11 +0000)
committer
aland
<aland>
Sun, 14 Oct 2007 19:11:25 +0000
(19:11 +0000)
sessions
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
bb78c99
..
a878e9f
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-1352,8
+1352,8
@@
static void request_post_handler(REQUEST *request)
}
if (request->root->proxy_requests &&
- !request->proxy &&
(request->reply->code == 0) &&
+ (request->packet->dst_port != 0) &&
(request->packet->code != PW_STATUS_SERVER)) {
int rcode = successfully_proxied_request(request);
@@
-1842,6
+1842,7
@@
int received_request(rad_listen_t *listener,
request_free(&request);
return 0;
}
+
request->in_request_hash = TRUE;
request->root = root;
root->refcount++;