From bb27b3c41631e5dc31335d9908a44f5e736c420a 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..562f4b3e7 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_DOWN_XX) && (P->proto_state != PS_STOP)) pipe_show_stats(p); } -- 2.47.3