mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 05:54:39 +00:00
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.
This commit is contained in:
parent
47a30c456c
commit
72d012fbd9
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user