[MINOR] stats: add href to tracked server

Each server has now a dedicated "a link" tag, so let's use it.
This commit is contained in:
Krzysztof Piotr Oledzki 2010-01-05 18:33:01 +01:00 committed by Willy Tarreau
parent a9389b1a37
commit 88a14af5d2

View File

@ -1735,7 +1735,8 @@ int stats_dump_proxy(struct session *s, struct proxy *px, struct uri_auth *uri)
svs->counters.down_trans, human_time(srv_downtime(sv), 1)); svs->counters.down_trans, human_time(srv_downtime(sv), 1));
} else if (sv != svs) } else if (sv != svs)
chunk_printf(&msg, chunk_printf(&msg,
"<td class=ac colspan=3>via %s/%s</td>", svs->proxy->id, svs->id); "<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\">via %s/%s<a></td>",
svs->proxy->id, svs->id, svs->proxy->id, svs->id);
else else
chunk_printf(&msg, chunk_printf(&msg,
"<td colspan=3></td>"); "<td colspan=3></td>");