From: Willy Tarreau Date: Mon, 12 Dec 2016 14:07:29 +0000 (+0100) Subject: BUG/MINOR: stats: fix be/sessions/max output in html stats X-Git-Tag: v1.8-dev1~298 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e0f17543e4d6d5b1e8b87e05341d0d9fb53c203;p=thirdparty%2Fhaproxy.git BUG/MINOR: stats: fix be/sessions/max output in html stats "Tadas / XtGem" reported that the max value was wrong and would report the current value instead. This needs to be backported to 1.7. --- diff --git a/src/stats.c b/src/stats.c index 497aa47790..0ba6d27ba3 100644 --- a/src/stats.c +++ b/src/stats.c @@ -914,7 +914,7 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats, "%s
" "" "", - U2H(stats[ST_F_SCUR].u.u32), U2H(stats[ST_F_SCUR].u.u32), U2H(stats[ST_F_SLIM].u.u32), + U2H(stats[ST_F_SCUR].u.u32), U2H(stats[ST_F_SMAX].u.u32), U2H(stats[ST_F_SLIM].u.u32), U2H(stats[ST_F_STOT].u.u64), U2H(stats[ST_F_STOT].u.u64));
Cum. sessions:%s