From 2a2e46ff202d40410f7bf51e8a0bdb57fcadd59e Mon Sep 17 00:00:00 2001 From: Erwan Le Goas Date: Wed, 28 Sep 2022 17:02:30 +0200 Subject: [PATCH] MINOR: cli: Add anonymization on a missed element for 'show sess all' Add an anonymization for an element missed in the first merge for 'show sess all'. No backport needed, except if anonymization mechanism is backported. --- src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.c b/src/stream.c index 405992f8b7..a3c4a1ab70 100644 --- a/src/stream.c +++ b/src/stream.c @@ -3255,7 +3255,7 @@ static int stats_dump_full_strm_to_buffer(struct stconn *sc, struct stream *strm case AF_INET: case AF_INET6: chunk_appendf(&trash, " source=%s:%d\n", - pn, get_host_port(conn->src)); + HA_ANON_CLI(pn), get_host_port(conn->src)); break; case AF_UNIX: chunk_appendf(&trash, " source=unix:%d\n", strm_li(strm)->luid); -- 2.47.3