mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Remember protocol instance in proto_config and use that for
`show protocols <name>'.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
* Can be freely distributed and used under the terms of the GNU GPL.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "nest/bird.h"
|
||||
#include "nest/cli.h"
|
||||
#include "conf/conf.h"
|
||||
@@ -119,7 +121,7 @@ cli_command(struct cli *c)
|
||||
struct config f;
|
||||
int res;
|
||||
|
||||
f.pool = NULL;
|
||||
bzero(&f, sizeof(f));
|
||||
f.mem = c->parser_pool;
|
||||
cf_read_hook = cli_cmd_read_hook;
|
||||
cli_rh_pos = c->rx_buf;
|
||||
|
Reference in New Issue
Block a user