diff options
-rw-r--r-- | ot_stats.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -613,7 +613,10 @@ static void stats_make( int *iovec_entries, struct iovec **iovector, ot_tasktype | |||
613 | case TASK_STATS_PEERS: r += stats_peers_mrtg( r ); break; | 613 | case TASK_STATS_PEERS: r += stats_peers_mrtg( r ); break; |
614 | case TASK_STATS_SLASH24S: r += stats_slash24s_txt( r, 128 ); break; | 614 | case TASK_STATS_SLASH24S: r += stats_slash24s_txt( r, 128 ); break; |
615 | case TASK_STATS_TOP10: r += stats_top_txt( r, 10 ); break; | 615 | case TASK_STATS_TOP10: r += stats_top_txt( r, 10 ); break; |
616 | case TASK_STATS_TOP100: r += stats_top_txt( r, 100 ); break; | 616 | case TASK_STATS_TOP100: |
617 | if( !( r = iovec_increase( iovec_entries, iovector, 4*OT_STATS_TMPSIZE ) ) ) | ||
618 | return; | ||
619 | r += stats_top_txt( r, 100 ); break; | ||
617 | case TASK_STATS_EVERYTHING: r += stats_return_everything( r ); break; | 620 | case TASK_STATS_EVERYTHING: r += stats_return_everything( r ); break; |
618 | #ifdef WANT_SPOT_WOODPECKER | 621 | #ifdef WANT_SPOT_WOODPECKER |
619 | case TASK_STATS_WOODPECKERS: r += stats_return_woodpeckers( r, 128 ); break; | 622 | case TASK_STATS_WOODPECKERS: r += stats_return_woodpeckers( r, 128 ); break; |