Fixed an undefined symbol bug in CLI introduced by filter refactoring
This commit is contained in:
parent
8d65add626
commit
2ab680c697
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ cli_command(struct cli *c)
|
||||||
bzero(&f, sizeof(f));
|
bzero(&f, sizeof(f));
|
||||||
f.mem = c->parser_pool;
|
f.mem = c->parser_pool;
|
||||||
f.pool = rp_new(c->pool, "Config");
|
f.pool = rp_new(c->pool, "Config");
|
||||||
|
init_list(&f.symbols);
|
||||||
cf_read_hook = cli_cmd_read_hook;
|
cf_read_hook = cli_cmd_read_hook;
|
||||||
cli_rh_pos = c->rx_buf;
|
cli_rh_pos = c->rx_buf;
|
||||||
cli_rh_len = strlen(c->rx_buf);
|
cli_rh_len = strlen(c->rx_buf);
|
||||||
|
|
Loading…
Reference in a new issue