From a63ec5d698b44473f8e70191c4369c47614f3e72 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 22 Sep 2025 11:17:34 +0200 Subject: [PATCH] Pipe: Do not show statistics for a stopping pipe There is no guarantee of such statistics to exist. Reported-By: NIX-CZ --- proto/pipe/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c index 0420ca140..d6b5208f2 100644 --- a/proto/pipe/pipe.c +++ b/proto/pipe/pipe.c @@ -286,7 +286,7 @@ pipe_show_proto_info(struct proto *P) channel_show_limit(&p->sec->in_limit, "Export limit:", (p->sec->limit_active & (1 << PLD_IN)), p->sec->limit_actions[PLD_IN]); - if (P->proto_state != PS_DOWN_XX) + if (P->proto_state == PS_UP) pipe_show_stats(p); } -- 2.47.3