diff --git a/daemon/remote.c b/daemon/remote.c index 7543892ea..adde3fec2 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -787,11 +787,11 @@ do_stats(SSL* ssl, struct daemon_remote* rc) total.mesh_time_median /= (double)daemon->num; if(!print_stats(ssl, "total", &total)) return; + if(!print_uptime(ssl, rc->worker)) + return; if(daemon->cfg->stat_extended) { if(!print_mem(ssl, rc->worker, daemon)) return; - if(!print_uptime(ssl, rc->worker)) - return; if(!print_ext(ssl, &total)) return; } diff --git a/doc/Changelog b/doc/Changelog index d9c105104..6f665d4a8 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ - testcode/ldns-testpkts.c const fixups. - fixed rcode stat printout. - munin plugin in contrib. + - stats always printout uptime, because stats plugins need it. 16 September 2008: Wouter - extended-statistics: yesno config option.