]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: fix stick table duplicate name check
authorPatrick Hemmer <phemmer@haproxy.com>
Mon, 26 Jun 2023 18:14:47 +0000 (14:14 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Jun 2023 08:27:16 +0000 (10:27 +0200)
commitbce0ca696cffcfcd0153e76415905444571381a7
treebb174c545e75b98198be70533e7432154faa62ae
parent593c895eed02e4e88b86f673d80aee3b0d64bd1b
BUG/MINOR: config: fix stick table duplicate name check

When a stick-table is defined within a peers section, the name is
prefixed with the peers section name. However when checking for
duplicate table names, the check was using the table name without
the prefix, and would thus never match.

Must be backported as far as 2.6.
src/cfgparse.c