summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-05-13 13:13:42 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-05-13 13:13:42 +0000
commit099ecc114be585f16a94dbc0989286b7306509c1 (patch)
tree097784c4a750950bfc8a2b648c932227470d8141 /radsecproxy.c
parent3badd3809645529046513f8ee2835f7949cbcde9 (diff)
only send rejects for accreq, updated radsecproxy.conf.5
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@251 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 14a23c5..1fe9e0d 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1842,7 +1842,7 @@ void radsrv(struct request *rq) {
to = chooseserver(code == RAD_Access_Request ? realm->srvconfs : realm->accsrvconfs);
if (!to) {
- if (realm->message) {
+ if (realm->message && code == RAD_Access_Request) {
debug(DBG_INFO, "radsrv: sending reject to %s for %s", rq->from->conf->host, username);
respondreject(rq, realm->message);
}