From: Christopher Faulet Date: Fri, 5 Sep 2025 09:27:40 +0000 (+0200) Subject: BUG/MINOR: acl: Fix error message about several '-m' parameters X-Git-Tag: v3.3-dev9~218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb407ba8e31179d92f639aaaaeb1454e8f154e04;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/acl.c b/src/acl.c index 370d696c0..954233521 100644 --- a/src/acl.c +++ b/src/acl.c @@ -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; }