From: William Lallemand Date: Wed, 7 Jan 2026 17:00:32 +0000 (+0100) Subject: BUG/MINOR: cfgparse: wrong section name upon error X-Git-Tag: v3.4-dev3~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91cff75908171d0d57aa7976b611e4e2de868b47;p=thirdparty%2Fhaproxy.git BUG/MINOR: cfgparse: wrong section name upon error When a unknown keyword was used in the "userlist" section, the error was mentioning the "users" section, instead of "userlist". Could be backported in every branches. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 9918d12f4..e0adcbe02 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1534,7 +1534,7 @@ cfg_parse_users(const char *file, int linenum, char **args, int kwm) } } } else { - ha_alert("parsing [%s:%d]: unknown keyword '%s' in '%s' section\n", file, linenum, args[0], "users"); + ha_alert("parsing [%s:%d]: unknown keyword '%s' in '%s' section\n", file, linenum, args[0], "userlist"); err_code |= ERR_ALERT | ERR_FATAL; }