summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-23 11:57:50 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-23 11:57:50 +0000
commit7fc85d4fec36acaa603c3d5d7a975a159c8f10bc (patch)
treeb1e50049adebe277b98ec072b1bb82a2e61c9fba
parent57af816bbb7901a4bb550041c9e939ccf24b6e89 (diff)
accept status-server on accounting port
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@324 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index f31e107..67ea834 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2767,8 +2767,8 @@ void *udpserverrd(void *arg) {
for (;;) {
memset(&rq, 0, sizeof(struct request));
rq.buf = radudpget(larg->s, &rq.from, NULL, &rq.fromsa);
- if (larg->acconly && *rq.buf != RAD_Accounting_Request) {
- debug(DBG_INFO, "udpserverrd: got something other than accounting-request, ignoring");
+ if (larg->acconly && *rq.buf != RAD_Accounting_Request && *rq.buf != RAD_Status_Server) {
+ debug(DBG_INFO, "udpserverrd: accepting only accounting-request and status-server, ignoring");
freerqdata(&rq);
continue;
}