BUG/MINOR: stick-table: Use MAX_SESS_STKCTR as the max track ID during parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Dec 2019 09:25:46 +0000 (10:25 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit28436e23d313d5986ddb97c9b4a5a0e5e78b2a42
tree2501187a0e35f479204a0363a216ef091b49a501
parentcb5501327c7ece8a9b5b07c9a839419e45d9ee4a
BUG/MINOR: stick-table: Use MAX_SESS_STKCTR as the max track ID during parsing

During the parsing of the sc-inc-gpc0, sc-inc-gpc1 and sc-inc-gpt1 actions, the
maximum stick table track ID allowed is tested against ACT_ACTION_TRK_SCMAX. It
is the action number and not the maximum number of stick counters. Instead,
MAX_SESS_STKCTR must be used.

This patch must be backported to all stable versions.
src/stick_table.c