mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-23 22:27:01 +00:00
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.
This commit is contained in:
parent
5a9c637bf3
commit
dfb34a8f87
@ -1280,7 +1280,7 @@ static int cli_io_handler_show_fd(struct appctx *appctx)
|
||||
if (px)
|
||||
chunk_appendf(&trash, " px=%s", px->id);
|
||||
else if (sv)
|
||||
chunk_appendf(&trash, " sv=%s/%s", sv->id, sv->proxy->id);
|
||||
chunk_appendf(&trash, " sv=%s/%s", sv->proxy->id, sv->id);
|
||||
else if (li)
|
||||
chunk_appendf(&trash, " fe=%s", li->bind_conf->frontend->id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user