mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 01:33:41 +02:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user