From 8e0f17543e4d6d5b1e8b87e05341d0d9fb53c203 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 12 Dec 2016 15:07:29 +0100 Subject: [PATCH] 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. --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index 497aa4779..0ba6d27ba 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