From: Willy Tarreau Date: Mon, 25 Jan 2016 14:27:17 +0000 (+0100) Subject: BUG/CLEANUP: CLI: report the proper field states in "show sess" X-Git-Tag: v1.7-dev2~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ceeafb5efc6e916a99aaa59d20e6825b9febc378;p=thirdparty%2Fhaproxy.git BUG/CLEANUP: CLI: report the proper field states in "show sess" Commit 16f649c ("REORG: polling: rename "fd_spec" to "fd_cache"") missed the server-facing connection during the rename, so the old names are still in used and add a bit of confusion during the debugging. This should be backported to 1.6 and 1.5. --- diff --git a/src/dumpstats.c b/src/dumpstats.c index 2cfaded6f9..cc38038220 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -5591,7 +5591,7 @@ static int stats_dump_full_sess_to_buffer(struct stream_interface *si, struct st obj_base_ptr(conn->target)); chunk_appendf(&trash, - " flags=0x%08x fd=%d fd_spec_e=%02x fd_spec_p=%d updt=%d\n", + " flags=0x%08x fd=%d fd.state=%02x fd.cache=%d updt=%d\n", conn->flags, conn->t.sock.fd, conn->t.sock.fd >= 0 ? fdtab[conn->t.sock.fd].state : 0,