From f3b6661ddda9a9c2591444799ff88cd82621d06b Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 24 Jun 2024 11:10:07 +0200 Subject: Additional CLI sockets can be now configured in the config file If the user has such a need, they may configure additional sockets in the config file. This may work for e.g. some advanced access control. --- conf/conf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'conf/conf.c') diff --git a/conf/conf.c b/conf/conf.c index d98d421c..805fdbd4 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -552,6 +552,7 @@ order_shutdown(int gr) init_list(&c->tables); init_list(&c->mpls_domains); init_list(&c->symbols); + c->cli = (struct cli_config_list) {}; memset(c->def_tables, 0, sizeof(c->def_tables)); c->shutdown = 1; c->gr_down = gr; -- cgit v1.2.3