From 9c0b23e28dd2b1719cf969dfc37827c0c41d236d Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 3 Nov 2008 01:52:02 +0000 Subject: [PATCH] Add stats about when peers renew their announces. --- ot_http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ot_http.c b/ot_http.c index 09e93dd..e0062ce 100644 --- a/ot_http.c +++ b/ot_http.c @@ -265,6 +265,8 @@ static ssize_t http_handle_stats( const int64 client_socket, char *data, char *d case 5: if( !byte_diff(data,5,"top10")) mode = TASK_STATS_TOP10; + if( !byte_diff(data,5,"renew")) + mode = TASK_STATS_RENEW; else HTTPERROR_400_PARAM; break;