|
|
@ -566,7 +566,7 @@ size_t stats_return_tracker_version( char *reply ) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
size_t return_stats_for_tracker( char *reply, int mode, int format ) {
|
|
|
|
size_t return_stats_for_tracker( char *reply, int mode, int format ) {
|
|
|
|
format = format;
|
|
|
|
(void) format;
|
|
|
|
switch( mode & TASK_TASK_MASK ) {
|
|
|
|
switch( mode & TASK_TASK_MASK ) {
|
|
|
|
case TASK_STATS_CONNS:
|
|
|
|
case TASK_STATS_CONNS:
|
|
|
|
return stats_connections_mrtg( reply );
|
|
|
|
return stats_connections_mrtg( reply );
|
|
|
@ -725,7 +725,7 @@ static void * stats_worker( void * args ) {
|
|
|
|
int iovec_entries;
|
|
|
|
int iovec_entries;
|
|
|
|
struct iovec *iovector;
|
|
|
|
struct iovec *iovector;
|
|
|
|
|
|
|
|
|
|
|
|
args = args;
|
|
|
|
(void) args;
|
|
|
|
|
|
|
|
|
|
|
|
while( 1 ) {
|
|
|
|
while( 1 ) {
|
|
|
|
ot_tasktype tasktype = TASK_STATS;
|
|
|
|
ot_tasktype tasktype = TASK_STATS;
|
|
|
|