From: Amaury Denoyelle Date: Tue, 4 Aug 2026 14:17:39 +0000 (+0200) Subject: BUG/MINOR: proxy: fix "show backend" X-Git-Tag: v3.5-dev4~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfd32f6c7e626d3a04874bc4b433d97296a1b62f;p=thirdparty%2Fhaproxy.git 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. --- 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)