From ca2a3cc8d5c7f8322e2d2d3418322fa7579beae9 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 22 May 2019 11:44:03 +0200 Subject: [PATCH] MINOR: connection: report the mux names in "haproxy -vv" Since the mux names appear at a few places (dumps etc), let's list them in front of supported mux protocols in "haproxy -vv". --- include/proto/connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/proto/connection.h b/include/proto/connection.h index 8a2884e2d..ede372638 100644 --- a/include/proto/connection.h +++ b/include/proto/connection.h @@ -1002,8 +1002,8 @@ static inline void list_mux_proto(FILE *out) else side = "NONE"; - fprintf(out, " %15s : mode=%-10s side=%s\n", - (proto.len ? proto.ptr : ""), mode, side); + fprintf(out, " %15s : mode=%-10s side=%-8s mux=%s\n", + (proto.len ? proto.ptr : ""), mode, side, item->mux->name); } }