summaryrefslogtreecommitdiff
path: root/udp.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-18 13:59:03 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-18 13:59:03 +0000
commit671b8f12f456f89f0432d983619d68516b8e0cb1 (patch)
tree8d99d41bd39c6fb54a82b4e99d2c62719f277ada /udp.c
parent902d4f07b42261b23046e2bcd1a142e59abd4515 (diff)
sending old reply when receiving duplicated message
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@393 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'udp.c')
-rw-r--r--udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udp.c b/udp.c
index 05e7a6b..bc239bc 100644
--- a/udp.c
+++ b/udp.c
@@ -208,6 +208,7 @@ void *udpserverwr(void *arg) {
port_set((struct sockaddr *)&to, reply->udpport);
if (sendto(reply->udpsock, reply->replybuf, RADLEN(reply->replybuf), 0, (struct sockaddr *)&to, SOCKADDR_SIZE(to)) < 0)
debug(DBG_WARN, "udpserverwr: send failed");
+ debug(DBG_DBG, "udpserverwr: refcount %d", reply->refcount);
freerq(reply);
}
}