From 84ffb3d0a9973e7d418008310f45f4c64ef4e4a0 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 23 May 2025 10:49:33 +0200 Subject: [PATCH] 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. --- src/cfgparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;