From: Willy Tarreau Date: Fri, 14 Dec 2018 12:48:44 +0000 (+0100) Subject: BUG/MINOR: stats: fix inversion of failed header rewrites and other statuses X-Git-Tag: v1.9-dev11~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feead3aff7b4d5372fada081482c78d61bf1337e;p=thirdparty%2Fhaproxy.git BUG/MINOR: stats: fix inversion of failed header rewrites and other statuses The tooltip in the HTML stats page was damaged by commit 1b0f85e47 ("MINOR: stats: also report the failed header rewrites warnings on the stats page"), due to the header rewrites counter being inserted at the wrong place and taking the place of the other statuses. This is only for 1.9, no backport is needed. --- diff --git a/src/stats.c b/src/stats.c index 76561ef930..823502ff36 100644 --- a/src/stats.c +++ b/src/stats.c @@ -1214,8 +1214,8 @@ static int stats_dump_fields_html(struct buffer *out, U2H(stats[ST_F_HRSP_3XX].u.u64), U2H(stats[ST_F_HRSP_4XX].u.u64), U2H(stats[ST_F_HRSP_5XX].u.u64), - U2H(stats[ST_F_WREW].u.u64), - U2H(stats[ST_F_HRSP_OTHER].u.u64)); + U2H(stats[ST_F_HRSP_OTHER].u.u64), + U2H(stats[ST_F_WREW].u.u64)); } chunk_appendf(out, "- Queue time:%sms", U2H(stats[ST_F_QTIME].u.u32));