From 5834848252fbc7a6f192e600eb56f388de3258b1 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 12 Mar 2021 13:42:43 +0100 Subject: [PATCH] CLEANUP: tcp-rules: add missing actions in the tcp-request error message The tcp-request error message only mentions "accept", "reject" and track-sc*, but there are a few other ones that were missing, so let's add them. This could be backported, though it's not likely that it will help anyone with an existing config. (cherry picked from commit 72d012fbd971bfd8b2bf6ab022572a816b759cbd) Signed-off-by: Christopher Faulet --- src/tcp_rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcp_rules.c b/src/tcp_rules.c index d83f10e..250ffe7 100644 --- a/src/tcp_rules.c +++ b/src/tcp_rules.c @@ -956,7 +956,7 @@ static int tcp_parse_request_rule(char **args, int arg, int section_type, else action_build_list(&tcp_req_cont_keywords, &trash); memprintf(err, - "'%s %s' expects 'accept', 'reject', 'track-sc0' ... 'track-sc%d', %s " + "'%s %s' expects 'accept', 'reject', 'capture', 'expect-proxy', 'expect-netscaler-ip', 'track-sc0' ... 'track-sc%d', %s " "in %s '%s' (got '%s').\n", args[0], args[1], MAX_SESS_STKCTR-1, trash.area, proxy_type_str(curpx), -- 1.7.10.4