summaryrefslogtreecommitdiff
path: root/ot_udp.c
diff options
context:
space:
mode:
authorerdgeist <>2008-01-17 10:46:25 +0000
committererdgeist <>2008-01-17 10:46:25 +0000
commit408c5f98ed073e43560be5319080a34104441e6a (patch)
treeac48629c99a79a360b4deb6309b83cbc4e953223 /ot_udp.c
parent7050e027d3b7d353dce6a8e100e54d71a46a8063 (diff)
Introducing live busy network detection.
Diffstat (limited to 'ot_udp.c')
-rw-r--r--ot_udp.c2
1 files changed, 1 insertions, 1 deletions
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 ) {
54 54
55 r = socket_recv4( serversocket, static_inbuf, sizeof( static_inbuf ), remoteip, &remoteport); 55 r = socket_recv4( serversocket, static_inbuf, sizeof( static_inbuf ), remoteip, &remoteport);
56 56
57 stats_issue_event( EVENT_ACCEPT, 0, 0 ); 57 stats_issue_event( EVENT_ACCEPT, 0, ntohl(*(uint32_t*)remoteip) );
58 stats_issue_event( EVENT_READ, 0, r ); 58 stats_issue_event( EVENT_READ, 0, r );
59 59
60 /* Minimum udp tracker packet size, also catches error */ 60 /* Minimum udp tracker packet size, also catches error */