]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: Add enum srv_stats_state
authorSimon Horman <horms@verge.net.au>
Thu, 23 Apr 2015 05:51:26 +0000 (14:51 +0900)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2015 07:57:49 +0000 (09:57 +0200)
commit4d2eab61d4b468231e63f4f00ad0afb695f53185
tree36e6c74a2bdb6a290ad7b5584166da7cc62110a7
parent83104804996f354f167d8bdfcd27fb1f6148a252
MEDIUM: stats: Add enum srv_stats_state

Add an enumeration to make the handling of the states of servers
in status messages somewhat clearer.

This is the first of a two-step attempt to disentangle the state and
colour of status information. A subsequent patch will separate state
colours from the states themselves.

This patch should not make any functional changes.

Signed-off-by: Simon Horman <horms@verge.net.au>
src/dumpstats.c