]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: servers: Add srv_addr default placeholder to the state file
authorDaniel Corbett <dcorbett@haproxy.com>
Sat, 19 May 2018 23:43:24 +0000 (19:43 -0400)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 May 2018 20:06:08 +0000 (22:06 +0200)
commit9215ffa6b294374e99e5ab027bea9b34642d7277
tree14e0271e2b26ef2b66c1c6c51a20f9a955b4259f
parent0cd82e883ef034508ebeef04fd25ffc946e80cfc
BUG/MEDIUM: servers: Add srv_addr default placeholder to the state file

When creating a state file using "show servers state" an empty field is
created in the srv_addr column if the server is from the socket family
AF_UNIX.  This leads to a warning on start up when using
"load-server-state-from-file". This patch defaults srv_addr to "-" if
the socket family is not covered.

This patch should be backported to 1.8.
src/proxy.c
src/server.c