summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-05-02 20:29:03 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-04 15:38:42 +0200
commit165156beeb2926472bbceca3c103aacc3f81a8cc (patch)
tree483ee32846c8758ded4b8c4bfeea3d3ae07a21d2 /nest/config.Y
parentcf07d8ad79273a3bbf0617c17e438602e4b64ece (diff)
Conf: Symbols are properly scoped
Now there is a persistent root symbol scope and all scopes have their symbol hashes to store local symbols and not leak any symbol out.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y
index b597b332..12fd01a2 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -638,7 +638,7 @@ r_args:
$$ = cfg_allocz(sizeof(struct rt_show_data));
init_list(&($$->tables));
$$->filter = FILTER_ACCEPT;
- $$->running_on_config = new_config->fallback;
+ $$->running_on_config = config;
}
| r_args net_any {
$$ = $1;