mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 13:21:29 +02:00
BUG/MINOR: acl: Fix error message about several '-m' parameters
There is a typo in the commit * c51ddd5c3 ("MINOR: acl: Only allow one '-m' matching method") . '*m' was reported in the error message instead of '-m'. In addition, it is now mentionned that only the last one should be keep if an old config triggers the error. No backport needed, except if the commit above is backported.
This commit is contained in:
parent
b167d545cf
commit
bb407ba8e3
@ -364,7 +364,8 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
|
||||
goto out_free_expr;
|
||||
}
|
||||
if (match_forced) {
|
||||
memprintf(err, "only one explicit matching method can be defined with '*m' parameter");
|
||||
memprintf(err, "only one explicit matching method can be defined with '-m' parameter."
|
||||
" if migrating from an old version, just keep the last one");
|
||||
goto out_free_expr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user