CLEANUP: vars: name the temporary proxy "CFG" instead of "CLI" for global vars

We're using a dummy temporary proxy when creating global variables in
the configuration file, it was copied from the CLI's code and was
mistakenly called "CLI", better name it "CFG". It should not appear
anywhere except maybe when debugging cores.
This commit is contained in:
Willy Tarreau 2021-09-03 08:19:43 +02:00
parent c767eebf1f
commit 9c20433aca

View File

@ -902,7 +902,7 @@ static int vars_parse_global_set_var(char **args, int section_type, struct proxy
char **err)
{
struct proxy px = {
.id = "CLI",
.id = "CFG",
.conf.args.file = file,
.conf.args.line = line,
};