From 72d012fbd971bfd8b2bf6ab022572a816b759cbd 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. --- 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 24858ccfb3..de99cff647 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), -- 2.39.5