diff options
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 */ |