]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: make sure to count the error on incorrect track-sc/stick rules
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Feb 2019 09:25:07 +0000 (10:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Feb 2019 09:25:07 +0000 (10:25 +0100)
commit1a0fe3becd99d7860b4eeaccec407325d5a8b8c2
treecdc9dc9bfe16166c8407775191eb6a5b982fa8dd
parentf7679ad4db0ddbd68e37e3d6e8dc9ed30f8a034f
BUG/MINOR: config: make sure to count the error on incorrect track-sc/stick rules

When commit 151e1ca98 ("BUG/MAJOR: config: verify that targets of track-sc
and stick rules are present") added a check for some process inconsistencies
between rules and their stick tables, some errors resulted in a "return 0"
statement, which is taken as "no error" in some cases. Let's fix this.

This must be backported to all versions using the above commit.
src/cfgparse.c
src/sample.c