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:
parent
28c7a22790
commit
84ffb3d0a9
@ -4700,8 +4700,8 @@ void cfg_restore_sections(struct list *backup_sections)
|
|||||||
/* dumps all registered keywords by section on stdout */
|
/* dumps all registered keywords by section on stdout */
|
||||||
void cfg_dump_registered_keywords()
|
void cfg_dump_registered_keywords()
|
||||||
{
|
{
|
||||||
/* CFG_GLOBAL, CFG_LISTEN, CFG_USERLIST, CFG_PEERS, CFG_CRTLIST */
|
/* 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", 0 };
|
const char* sect_names[] = { "", "global", "listen", "userlist", "peers", "crt-list", "crt-store", "traces", "acme", 0 };
|
||||||
int section;
|
int section;
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user