summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authordenis <>2007-12-02 03:58:36 +0000
committerdenis <>2007-12-02 03:58:36 +0000
commit0a1cc183588dfd3f02c8ff6519c3214355404b8b (patch)
tree7e8ac3d1ee0fb3e30ce137695c07e84800e973bf /opentracker.c
parentae1863f232c2a2e741f88e8d946103052cd0583a (diff)
add scrape stats and small correction to udp stats
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c
index 46f3beb..debb868 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -351,6 +351,8 @@ LOG_TO_STDERR( "sync: %d.%d.%d.%d\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
351 mode = TASK_STATS_PEERS; 351 mode = TASK_STATS_PEERS;
352 else if( !byte_diff(data,4,"conn")) 352 else if( !byte_diff(data,4,"conn"))
353 mode = TASK_STATS_CONNS; 353 mode = TASK_STATS_CONNS;
354 else if( !byte_diff(data,4,"scrp"))
355 mode = TASK_STATS_SCRAPE;
354 else if( !byte_diff(data,4,"top5")) 356 else if( !byte_diff(data,4,"top5"))
355 mode = TASK_STATS_TOP5; 357 mode = TASK_STATS_TOP5;
356 else if( !byte_diff(data,4,"fscr")) 358 else if( !byte_diff(data,4,"fscr"))