diff options
Diffstat (limited to 'ot_stats.c')
-rw-r--r-- | ot_stats.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -242,19 +242,19 @@ static size_t stats_peers_mrtg( char * reply ) { | |||
242 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { | 242 | size_t return_stats_for_tracker( char *reply, int mode, int format ) { |
243 | format = format; | 243 | format = format; |
244 | switch( mode ) { | 244 | switch( mode ) { |
245 | case STATS_CONNS: | 245 | case TASK_STATS_CONNS: |
246 | return stats_connections_mrtg( reply ); | 246 | return stats_connections_mrtg( reply ); |
247 | case STATS_UDP: | 247 | case TASK_STATS_UDP: |
248 | return stats_udpconnections_mrtg( reply ); | 248 | return stats_udpconnections_mrtg( reply ); |
249 | case STATS_TCP: | 249 | case TASK_STATS_TCP: |
250 | return stats_tcpconnections_mrtg( reply ); | 250 | return stats_tcpconnections_mrtg( reply ); |
251 | case STATS_PEERS: | 251 | case TASK_STATS_PEERS: |
252 | return stats_peers_mrtg( reply ); | 252 | return stats_peers_mrtg( reply ); |
253 | case STATS_SLASH24S: | 253 | case TASK_STATS_SLASH24S: |
254 | return stats_slash24s_txt( reply, 25, 16 ); | 254 | return stats_slash24s_txt( reply, 25, 16 ); |
255 | case STATS_TOP5: | 255 | case TASK_STATS_TOP5: |
256 | return stats_top5_txt( reply ); | 256 | return stats_top5_txt( reply ); |
257 | case STATS_FULLSCRAPE: | 257 | case TASK_STATS_FULLSCRAPE: |
258 | return stats_fullscrapes_mrtg( reply ); | 258 | return stats_fullscrapes_mrtg( reply ); |
259 | default: | 259 | default: |
260 | return 0; | 260 | return 0; |