summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-23 12:49:55 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-23 12:49:55 +0000
commit342563a5b2f8ec46eb484eb9fcb9de4965fa11cf (patch)
treeccd65e0485f152d55ae676a41e7c35fa3da7b003 /radsecproxy.c
parentb4cc83bf02fb155c310c7ee05cd366b27c7e75e1 (diff)
better status-server debug output
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@101 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 2982ac0..1795f95 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1104,7 +1104,7 @@ void respondstatusserver(struct request *rq) {
resp[0] = RAD_Access_Accept;
resp[2] = 0;
resp[3] = 20;
- debug(DBG_DBG, "respondstatusserver: responding");
+ debug(DBG_DBG, "respondstatusserver: responding to %s", rq->from->peer.host);
sendreply(rq->from, resp, rq->from->peer.type == 'U' ? &rq->fromsa : NULL);
}
@@ -1304,7 +1304,7 @@ void *clientrd(void *arg) {
server->requests[i].received = 1;
pthread_mutex_unlock(&server->newrq_mutex);
free(buf);
- debug(DBG_INFO, "clientrd: got status server response");
+ debug(DBG_INFO, "clientrd: got status server response from %s", server->peer.host);
continue;
}
@@ -1463,7 +1463,7 @@ void *clientwr(void *arg) {
? 1 : REQUEST_RETRIES)) {
debug(DBG_DBG, "clientwr: removing expired packet from queue");
if (*rq->buf == RAD_Status_Server)
- debug(DBG_WARN, "clientwr: no status server response, server dead?");
+ debug(DBG_WARN, "clientwr: no status server response, %s dead?", server->peer.host);
free(rq->buf);
/* setting this to NULL means that it can be reused */
rq->buf = NULL;