summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2008-11-03 01:52:02 +0000
committererdgeist <>2008-11-03 01:52:02 +0000
commit9c0b23e28dd2b1719cf969dfc37827c0c41d236d (patch)
tree761a8c619e0229f0e56e4e5db9d25c9d11b47d82
parent3f5468672bce33ee86017b5e9cd5d9407b5d95ab (diff)
Add stats about when peers renew their announces.
-rw-r--r--ot_http.c2
1 files changed, 2 insertions, 0 deletions
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
265 case 5: 265 case 5:
266 if( !byte_diff(data,5,"top10")) 266 if( !byte_diff(data,5,"top10"))
267 mode = TASK_STATS_TOP10; 267 mode = TASK_STATS_TOP10;
268 if( !byte_diff(data,5,"renew"))
269 mode = TASK_STATS_RENEW;
268 else 270 else
269 HTTPERROR_400_PARAM; 271 HTTPERROR_400_PARAM;
270 break; 272 break;