mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Conf: Fix 'show symbols'
Seems like the root scope was not marked as active.
This commit is contained in:
parent
ab47c2ae46
commit
abae806efd
@ -739,6 +739,7 @@ cf_lex_init(int is_cli, struct config *c)
|
||||
BEGIN(INITIAL);
|
||||
|
||||
c->root_scope = c->current_scope = cfg_allocz(sizeof(struct sym_scope));
|
||||
c->root_scope->active = 1;
|
||||
|
||||
if (is_cli)
|
||||
c->current_scope->next = config->root_scope;
|
||||
|
Loading…
Reference in New Issue
Block a user