]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: config: verbosely reject peers sections with multiple local peers
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Jan 2013 10:12:27 +0000 (11:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Jan 2013 14:30:54 +0000 (15:30 +0100)
commit8b8fd56ca56d20931928154ea18f62a5198fb490
tree34b9761a02ee166421a1097d7755fdbc98ef21bb
parentab012dd394d596f022c0d16f3584d5f61ffcf10e
BUG/MEDIUM: config: verbosely reject peers sections with multiple local peers

If a peers section contains several instances of the local peer name, only
the first one was considered and the next ones were silently ignored. This
can cause some trouble to debug such a configuration. Now the extra entries
are rejected with an error message indicating where the first occurrence was
found.
src/cfgparse.c