diff options
author | erdgeist <> | 2008-01-17 10:46:25 +0000 |
---|---|---|
committer | erdgeist <> | 2008-01-17 10:46:25 +0000 |
commit | 408c5f98ed073e43560be5319080a34104441e6a (patch) | |
tree | ac48629c99a79a360b4deb6309b83cbc4e953223 /ot_udp.c | |
parent | 7050e027d3b7d353dce6a8e100e54d71a46a8063 (diff) |
Introducing live busy network detection.
Diffstat (limited to 'ot_udp.c')
-rw-r--r-- | ot_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |