summaryrefslogtreecommitdiff
path: root/conf/cf-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'conf/cf-lex.l')
-rw-r--r--conf/cf-lex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index c32b1c22..9c9c0c1f 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -796,6 +796,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;