]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: config: ACL compatibility check on "redirect" was wrong
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2013 18:16:31 +0000 (19:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2013 18:21:56 +0000 (19:21 +0100)
commit2f4765128056b895b02ea34cdb1b02231b163caa
tree5a61e5d14424bb2bd4bef85d19abf387118e1a90
parent3bfeadb3f6d0cdb924847a98669f8e908a224169
BUG/MEDIUM: config: ACL compatibility check on "redirect" was wrong

The check was made on "cond" instead of "rule->cond", so it never
emitted any warning since either the rule was NULL or it was set to
the last condition met.

This is 1.5-specific and the bug was introduced by commit 4baae248
in 1.5-dev17, so no backport is needed.
src/cfgparse.c