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. --- opentracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentracker.c') 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 ) { memset( h, 0, sizeof( struct http_data ) ); memmove( h->ip, ip, sizeof( ip ) ); - stats_issue_event( EVENT_ACCEPT, 1, 0); + stats_issue_event( EVENT_ACCEPT, 1, ntohl(*(uint32_t*)ip)); /* That breaks taia encapsulation. But there is no way to take system time this often in FreeBSD and libowfat does not allow to set unix time */ -- cgit v1.2.3