diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index a3aa827..21b3d87 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -167,7 +167,7 @@ static void handle_accept( const int64 serversocket ) { | |||
167 | memset( h, 0, sizeof( struct http_data ) ); | 167 | memset( h, 0, sizeof( struct http_data ) ); |
168 | memmove( h->ip, ip, sizeof( ip ) ); | 168 | memmove( h->ip, ip, sizeof( ip ) ); |
169 | 169 | ||
170 | stats_issue_event( EVENT_ACCEPT, 1, 0); | 170 | stats_issue_event( EVENT_ACCEPT, 1, ntohl(*(uint32_t*)ip)); |
171 | 171 | ||
172 | /* That breaks taia encapsulation. But there is no way to take system | 172 | /* That breaks taia encapsulation. But there is no way to take system |
173 | time this often in FreeBSD and libowfat does not allow to set unix time */ | 173 | time this often in FreeBSD and libowfat does not allow to set unix time */ |