]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: Useless frontend initialization in "peers" sections.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 25 Apr 2018 13:32:18 +0000 (15:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Jan 2019 13:26:21 +0000 (14:26 +0100)
commit4ba51988992e3e955041d561257c0db6a57a4a15
tree17e83e75defa6dd6bb76e3b538834ccaa49c455f
parent16e491004b76db58e0f8b529b846ee5a24ef379e
MINOR: cfgparse: Useless frontend initialization in "peers" sections.

Use ->local "peers" struct member to flag a "peers" section frontend
has being initialized. This is to be able to initialize the frontend
of "peers" sections on lines different from "peer" lines.

May be backported to 1.5 and newer.
src/cfgparse.c