From bfd32f6c7e626d3a04874bc4b433d97296a1b62f Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Tue, 4 Aug 2026 16:17:39 +0200 Subject: [PATCH] BUG/MINOR: proxy: fix "show backend" During the conversion for the main proxies list, "show backend" was broken as no entry would be displayed. This patch restores the iteration over the backends list. The exact patch which introduces the regression is the following one. 164d05706132107a405d23663dbca29916910f55 MINOR: proxy: define proxies_list iteration functions No need to backport unless the above patch is. --- src/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.c b/src/proxy.c index 0f9d099d6..8ec08a5df 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -4620,7 +4620,7 @@ static int cli_io_handler_show_backend(struct appctx *appctx) } for (; ctx->px; watcher_next(&ctx->px_watch, main_proxies_next(ctx->px))) { - curproxy = appctx->svcctx; + curproxy = ctx->px; /* looking for non-internal backends only */ if ((curproxy->cap & (PR_CAP_BE|PR_CAP_INT)) != PR_CAP_BE) -- 2.47.3