summaryrefslogtreecommitdiff
path: root/nest/cli.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-03-20 16:50:58 +0100
committerMaria Matejka <mq@ucw.cz>2019-03-20 16:50:58 +0100
commit2ab680c6972306db71d9a8d4ee4fabf265981d30 (patch)
tree980a0459f7aadef7512c511ceafab50dcacabed5 /nest/cli.c
parent8d65add626b34256879a3e83855af3c0fa8ce4e7 (diff)
Fixed an undefined symbol bug in CLI introduced by filter refactoring
Diffstat (limited to 'nest/cli.c')
-rw-r--r--nest/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/cli.c b/nest/cli.c
index c421cc7e..24962f10 100644
--- a/nest/cli.c
+++ b/nest/cli.c
@@ -262,6 +262,7 @@ cli_command(struct cli *c)
bzero(&f, sizeof(f));
f.mem = c->parser_pool;
f.pool = rp_new(c->pool, "Config");
+ init_list(&f.symbols);
cf_read_hook = cli_cmd_read_hook;
cli_rh_pos = c->rx_buf;
cli_rh_len = strlen(c->rx_buf);