BUG/MINOR: rules: Fix check_capture() function to use the right rule arguments

The function checking captures defined in tcp-request content ruleset didn't
use the right rule arguments. "arg.trk_ctr" was used instead of "arg.cap".

This patch must be backported as far as 2.2.

(cherry picked from commit 643f1b7befa9c97575aa41d705606c6fda4ed94c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 373d4ab4f1a1ad272262debf5b258f1161909f2d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed