From: Willy Tarreau Date: Fri, 3 Sep 2021 06:19:43 +0000 (+0200) Subject: CLEANUP: vars: name the temporary proxy "CFG" instead of "CLI" for global vars X-Git-Tag: v2.5-dev6~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c20433acad4f9e0a99191d00f584d36f058a538;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/vars.c b/src/vars.c index 59f802a308..d4f4119944 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, };