]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: only the last peers section was used by tables
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Jan 2013 20:34:52 +0000 (21:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Jan 2013 20:34:52 +0000 (21:34 +0100)
commit973ca497953bfc668f9879c3977942a1c6e1e536
tree851f067c8afb1cdae492cab1a286e386dbc6b7eb
parent1f31c73030727da96ccb971e62b4d55ef182e8a7
BUG/MEDIUM: peers: only the last peers section was used by tables

Due to a typo in the peers section lookup code, the last declared peers
section was used instead of the one matching the requested name. This bug
has been there since the very first commit on peers section (1.5-dev2).
src/cfgparse.c