From bb407ba8e31179d92f639aaaaeb1454e8f154e04 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 5 Sep 2025 11:27:40 +0200 Subject: [PATCH] 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. --- src/acl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }