From: Willy Tarreau Date: Thu, 18 Oct 2007 09:05:48 +0000 (+0200) Subject: [MINOR] add a link to the CSV export on the stats page. X-Git-Tag: v1.3.13~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5031e6adf5407dd805e0dca667249c8ad57cf9d5;p=thirdparty%2Fhaproxy.git [MINOR] add a link to the CSV export on the stats page. --- diff --git a/src/dumpstats.c b/src/dumpstats.c index c77528dcc0..13196e2782 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -274,6 +274,11 @@ int stats_dump_http(struct session *s, struct uri_auth *uri, int flags) (s->flags & SN_STAT_HIDEDWN) ? ";up" : "", (s->flags & SN_STAT_NORFRSH) ? ";norefresh" : ""); + chunk_printf(&msg, sizeof(trash), + "
  • CSV export
    \n", + uri->uri_prefix, + (uri->refresh > 0) ? ";norefresh" : ""); + chunk_printf(&msg, sizeof(trash), "" ""