]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: peers: fix error reporting of "bind" lines
authorWilly Tarreau <w@1wt.eu>
Fri, 20 May 2022 13:19:48 +0000 (15:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 May 2022 16:39:43 +0000 (18:39 +0200)
commit0d04410ebe1b245a62536cbda691487d7482953e
tree1cf2b09a7be664e6530dd8c91aa5f19ed3cf86d7
parentcc3d7166f45f3b27a1c01237e307bfbfe1dce7b5
BUG/MINOR: peers: fix error reporting of "bind" lines

In case the str2listener() parser reports a generic error with no message
when parsing the argument of a "bind" statement in a "peers" section, the
reported error indicates an invalid address on the empty arg. This has
existed since 2.0 with commit 355b2033e ("MINOR: cfgparse: SSL/TLS binding
in "peers" sections."), so this must be backported till 2.0.
src/cfgparse.c