From 408c5f98ed073e43560be5319080a34104441e6a Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Thu, 17 Jan 2008 10:46:25 +0000 Subject: Introducing live busy network detection. --- ot_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_udp.c') diff --git a/ot_udp.c b/ot_udp.c index e1af2fe..3cafd35 100644 --- a/ot_udp.c +++ b/ot_udp.c @@ -54,7 +54,7 @@ void handle_udp4( int64 serversocket ) { r = socket_recv4( serversocket, static_inbuf, sizeof( static_inbuf ), remoteip, &remoteport); - stats_issue_event( EVENT_ACCEPT, 0, 0 ); + stats_issue_event( EVENT_ACCEPT, 0, ntohl(*(uint32_t*)remoteip) ); stats_issue_event( EVENT_READ, 0, r ); /* Minimum udp tracker packet size, also catches error */ -- cgit v1.2.3