summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:43:27 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-25 23:43:27 +0100
commit5a53dfd4254838e58303ebb8de2054988f23044c (patch)
tree4b725867fa2a2bb56c177f23e1200e258ff89beb
parentdf9bd12ea22a909c3a3bf8f60699ccfcafb72e77 (diff)
parentabae806efdf6ac5f919c93057dd8df1faff1058c (diff)
Merge commit 'abae806e' into wireguard-next-tmp7-1
-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;