]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: config: report the correct track-sc number in tcp-rules
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 22:29:05 +0000 (23:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 22:31:32 +0000 (23:31 +0100)
commit34c2fb6f89a0d73c91627bc9f75f3921d8e6af7c
tree2cc459dd80e1783048b1bd462f0b9b111f069453
parent1903acdf3ad70228b7760505c666b754bf86db47
BUG/MINOR: config: report the correct track-sc number in tcp-rules

When parsing track-sc* actions in tcp-request rules, we now automatically
compute the track-sc identifier number using %d when displaying an error
message. But the ID has become wrong since we introduced sc0, we continue
to report id+1 in error messages causing some confusion.

No backport is needed.
include/proto/proto_tcp.h
src/cfgparse.c