BUG/MINOR: cli: fix server name output in "show fd"
authorWilly Tarreau <w@1wt.eu>
Tue, 6 Jul 2021 09:41:10 +0000 (11:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Jul 2021 15:51:10 +0000 (17:51 +0200)
commit1649e6924c9fa5107aa60f168ebcd4fdfc4e719b
tree66382b4897eb05aed4f9a054416ec940ad833649
parent165560f1a47c6577917cf5677b78081c6bbc4cc0
BUG/MINOR: cli: fix server name output in "show fd"

A server name was displayed as <srv>/<proxy> instead of the reverse.
It only confuses diagnostics. This was introduced by commit 7a4a0ac71
("MINOR: cli: add a new "show fd" command") so this fix can be backport
down to 1.8.

(cherry picked from commit dfb34a8f87cacc1ced48f555ab74b6630ce4bb08)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit ab40792af6b81e45e632b5c14d396aba4efb4cde)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/cli.c