mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02:00
MINOR: tcp: report the erroneous word in tcp-request track*
We used to report the word after the fetch.
This commit is contained in:
parent
1e5dfdad77
commit
33c60dece5
@ -1124,7 +1124,7 @@ static int tcp_parse_request_rule(char **args, int arg, int section_type,
|
|||||||
if (!(expr->fetch->val & where)) {
|
if (!(expr->fetch->val & where)) {
|
||||||
memprintf(err,
|
memprintf(err,
|
||||||
"'%s %s %s' : fetch method '%s' extracts information from '%s', none of which is available here",
|
"'%s %s %s' : fetch method '%s' extracts information from '%s', none of which is available here",
|
||||||
args[0], args[1], args[kw], args[arg], sample_src_names(expr->fetch->use));
|
args[0], args[1], args[kw], args[arg-1], sample_src_names(expr->fetch->use));
|
||||||
free(expr);
|
free(expr);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user