From: Willy Tarreau Date: Wed, 22 May 2019 09:44:03 +0000 (+0200) Subject: MINOR: connection: report the mux names in "haproxy -vv" X-Git-Tag: v2.0-dev4~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca2a3cc8d5c7f8322e2d2d3418322fa7579beae9;p=thirdparty%2Fhaproxy.git 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". --- diff --git a/include/proto/connection.h b/include/proto/connection.h index 8a2884e2dd..ede3726383 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); } }