From: Willy Tarreau Date: Fri, 23 May 2025 08:49:33 +0000 (+0200) Subject: MINOR: config: list recently added sections with -dKcfg X-Git-Tag: v3.2.0~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84ffb3d0a9973e7d418008310f45f4c64ef4e4a0;p=thirdparty%2Fhaproxy.git MINOR: config: list recently added sections with -dKcfg Newly added sections (crt-store, traces, acme) were not listed in -dKcfg, let's add them. For now they have to be manually enumerated. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 22dfee3b8..9c334a227 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -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;