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.
This commit is contained in:
Erwan Le Goas 2022-09-28 17:02:30 +02:00 committed by Christopher Faulet
parent 7fdba0ae54
commit 2a2e46ff20

View File

@ -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);