summaryrefslogtreecommitdiff
path: root/conf/conf.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2024-06-24 11:10:07 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2024-06-27 04:14:38 +0200
commitf3b6661ddda9a9c2591444799ff88cd82621d06b (patch)
treeae4ac9154932587ffe1c8acc64effb9fb44806c1 /conf/conf.c
parenta95fff37937171302167e670bd8b6e80d447cf65 (diff)
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.
Diffstat (limited to 'conf/conf.c')
-rw-r--r--conf/conf.c1
1 files changed, 1 insertions, 0 deletions
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;