diff --git a/server/src/hooks.c b/server/src/hooks.c index 456ff0cc5..35404a8e4 100644 --- a/server/src/hooks.c +++ b/server/src/hooks.c @@ -376,7 +376,7 @@ int hook_stats(struct path *p, struct hook *h, int when) case HOOK_PERIODIC: { char *buf = path_print(p); - if (p->received > 0) + if (p->received > 1) stats("%-40s|%10.2g|%10.2f|%10u|%10u|%10u|%10u|%10u|%10u|%10u|", buf, p->hist_owd.last, 1 / p->hist_gap_msg.last, p->sent, p->received, p->dropped, p->skipped, p->invalid, p->overrun, list_length(p->current)