From 2ab680c6972306db71d9a8d4ee4fabf265981d30 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 20 Mar 2019 16:50:58 +0100 Subject: Fixed an undefined symbol bug in CLI introduced by filter refactoring --- nest/cli.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3