summaryrefslogtreecommitdiff
path: root/nest/cli.c
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-05-15 12:10:51 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2017-05-15 12:10:51 +0200
commitf8d44b01df5d93681e116ccbff39cc4618632825 (patch)
tree5b9c3113353410a2f70347a61856f5d80ff5c6c4 /nest/cli.c
parent95639d957758cba04aeec7ef319c2de2a5ff52da (diff)
Nest: split route show into separate file
Diffstat (limited to 'nest/cli.c')
-rw-r--r--nest/cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/cli.c b/nest/cli.c
index 83e79616..bf8bf127 100644
--- a/nest/cli.c
+++ b/nest/cli.c
@@ -313,7 +313,8 @@ cli_new(void *priv)
c->event->hook = cli_event;
c->event->data = c;
c->cont = cli_hello;
- c->parser_pool = lp_new(c->pool, 4096);
+ c->parser_pool = lp_new(c->pool, 4080);
+ c->show_pool = lp_new(c->pool, 4080);
c->rx_buf = mb_alloc(c->pool, CLI_RX_BUF_SIZE);
ev_schedule(c->event);
return c;