]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: tcp-check actions are enums, not flags
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Dec 2013 15:16:41 +0000 (16:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Dec 2013 15:16:41 +0000 (16:16 +0100)
commit98aec9ff47ad33748cf5c76cd071511cbcf509c6
tree3f96eb21e4240dd8384dbaba941e4af277adb0f3
parent3d536ac37858f9ce2eac2ee8bed42af03ef05fef
BUG/MINOR: checks: tcp-check actions are enums, not flags

In recent commit 5ecb77f (MEDIUM: checks: add send/expect tcp based check),
bitfields were mistakenly used at some places for the actions. Fortunately,
the only two actions right now are 1 and 2 so they don't share any bit in
common and the bug has no impact.

No backport is needed.
include/types/checks.h
src/checks.c