From: Ondrej Zajicek Date: Wed, 4 Oct 2023 18:14:12 +0000 (+0200) Subject: Conf: Fix 'show symbols' X-Git-Tag: v2.14~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abae806efdf6ac5f919c93057dd8df1faff1058c;p=thirdparty%2Fbird.git Conf: Fix 'show symbols' Seems like the root scope was not marked as active. --- diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 5fb88e03d..0fa4628a4 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -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;