From: Willy Tarreau Date: Sat, 6 Jan 2007 23:16:15 +0000 (+0100) Subject: [MINOR] [STATS] swap color sets for active and backup servers X-Git-Tag: v1.3.5~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=368e96ad8880744e11e656e5293e56344279ebeb;p=thirdparty%2Fhaproxy.git [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. --- diff --git a/src/proto_http.c b/src/proto_http.c index 6e9cd88f15..184d91aa2e 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,