From 368e96ad8880744e11e656e5293e56344279ebeb Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 7 Jan 2007 00:16:15 +0100 Subject: [PATCH] [MINOR] [STATS] swap color sets for active and backup servers colors had incidently been swapped during the stats page rewrite. Thanks to Sin Yu for noticing it. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index 6e9cd88f1..184d91aa2 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -3139,7 +3139,7 @@ int produce_content_stats_proxy(struct session *s, struct proxy *px) /* errors : request, connect, response */ "%d%d\n" "", - (sv->state & SRV_BACKUP) ? "active" : "backup", + (sv->state & SRV_BACKUP) ? "backup" : "active", sv_state, sv->id, sv->nbpend, sv->nbpend_max, sv->cur_sess, sv->cur_sess_max, sv->maxconn ? ultoa(sv->maxconn) : "-", sv->cum_sess, -- 2.47.3