From 9c20433acad4f9e0a99191d00f584d36f058a538 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 3 Sep 2021 08:19:43 +0200 Subject: [PATCH] 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. --- src/vars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vars.c b/src/vars.c index 59f802a30..d4f411994 100644 --- a/src/vars.c +++ b/src/vars.c @@ -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, };