]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: config: list recently added sections with -dKcfg
authorWilly Tarreau <w@1wt.eu>
Fri, 23 May 2025 08:49:33 +0000 (10:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 May 2025 08:49:33 +0000 (10:49 +0200)
Newly added sections (crt-store, traces, acme) were not listed in
-dKcfg, let's add them. For now they have to be manually enumerated.

src/cfgparse.c

index 22dfee3b84d096dc4aed33f501ef3482516dff76..9c334a22727f316e2601e20923efcad24db74992 100644 (file)
@@ -4700,8 +4700,8 @@ void cfg_restore_sections(struct list *backup_sections)
 /* dumps all registered keywords by section on stdout */
 void cfg_dump_registered_keywords()
 {
-       /*                             CFG_GLOBAL, CFG_LISTEN, CFG_USERLIST, CFG_PEERS, CFG_CRTLIST */
-       const char* sect_names[] = { "", "global", "listen", "userlist", "peers", "crt-list", 0 };
+       /*                             CFG_GLOBAL, CFG_LISTEN, CFG_USERLIST, CFG_PEERS, CFG_CRTLIST, CFG_CRTSTORE, CFG_TRACES, CFG_ACME */
+       const char* sect_names[] = { "", "global", "listen", "userlist", "peers", "crt-list", "crt-store", "traces", "acme", 0 };
        int section;
        int index;