diff options
Diffstat (limited to 'ot_stats.c')
| -rw-r--r-- | ot_stats.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -265,9 +265,10 @@ static size_t stats_peers_mrtg( char * reply ) { | |||
| 265 | } | 265 | } |
| 266 | 266 | ||
| 267 | static size_t stats_httperrors_txt ( char * reply ) { | 267 | static size_t stats_httperrors_txt ( char * reply ) { |
| 268 | return sprintf( reply, "400 ... %llu\n400 PAR %llu\n400 COM %llu\n403 IP %llu\n404 INV %llu\n500 SRV %llu\n", | 268 | return sprintf( reply, "302 RED %llu\n400 ... %llu\n400 PAR %llu\n400 COM %llu\n403 IP %llu\n404 INV %llu\n500 SRV %llu\n", |
| 269 | ot_failed_request_counts[0], ot_failed_request_counts[1], ot_failed_request_counts[2], | 269 | ot_failed_request_counts[0], ot_failed_request_counts[1], ot_failed_request_counts[2], |
| 270 | ot_failed_request_counts[3], ot_failed_request_counts[4], ot_failed_request_counts[5]); | 270 | ot_failed_request_counts[3], ot_failed_request_counts[4], ot_failed_request_counts[5], |
| 271 | ot_failed_request_counts[6] ); | ||
| 271 | } | 272 | } |
| 272 | 273 | ||
| 273 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { | 274 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { |
