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 /opentracker.c | |
| parent | 7050e027d3b7d353dce6a8e100e54d71a46a8063 (diff) | |
Introducing live busy network detection.
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 */ |
