From: Erwan Le Goas Date: Wed, 28 Sep 2022 15:02:30 +0000 (+0200) Subject: MINOR: cli: Add anonymization on a missed element for 'show sess all' X-Git-Tag: v2.7-dev7~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a2e46ff202d40410f7bf51e8a0bdb57fcadd59e;p=thirdparty%2Fhaproxy.git 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. --- 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);