]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: Peer addresses parsing broken.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 31 Jan 2019 05:48:16 +0000 (06:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 08:56:39 +0000 (09:56 +0100)
commit04636b7baca1bd03191c30bc173c19fede73c048
tree1feb10be9dd1affba2cb79b0abb29ebe6481c0a7
parenta9b7796862e2ab61745d142dde82e615407fee46
BUG/MEDIUM: peers: Peer addresses parsing broken.

This bug was introduced by 355b203 commit which prevented the peer
addresses to be parsed for the local peer of a "peers" section.
When adding "parse_addr" boolean parameter to parse_server(), this commit
missed the case where the syntax with "peer" keyword should still be
supported in addition to the new syntax with "server"+"bind" keyword.

May be backported as fas as 1.5.
src/cfgparse.c