mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
BUG/MINOR: tcp: fix error reporting for TCP rules
tcp-request swapped two output words in the error message, making it meaningless.
This commit is contained in:
parent
e3cf2229ad
commit
deaec2fda3
@ -1429,7 +1429,7 @@ static int tcp_parse_tcp_req(char **args, int section_type, struct proxy *curpx,
|
||||
else
|
||||
memprintf(err,
|
||||
"'%s' expects 'inspect-delay', 'connection', or 'content' in %s '%s' (got '%s')",
|
||||
args[0], args[1], proxy_type_str(curpx), curpx->id);
|
||||
args[0], proxy_type_str(curpx), curpx->id, args[1]);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user