]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed an undefined symbol bug in CLI introduced by filter refactoring
authorMaria Matejka <mq@ucw.cz>
Wed, 20 Mar 2019 15:50:58 +0000 (16:50 +0100)
committerMaria Matejka <mq@ucw.cz>
Wed, 20 Mar 2019 15:50:58 +0000 (16:50 +0100)
nest/cli.c

index c421cc7e7c7e14b090a64927387b018b6a0067e7..24962f10794b73e9f5f39659f5c2297740bcbf9c 100644 (file)
@@ -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);