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.
This commit is contained in:
Willy Tarreau 2025-05-23 10:49:33 +02:00
parent 28c7a22790
commit 84ffb3d0a9

View 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;