diff options
author | Maria Matejka <mq@ucw.cz> | 2024-06-24 11:10:07 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2024-06-27 04:14:38 +0200 |
commit | f3b6661ddda9a9c2591444799ff88cd82621d06b (patch) | |
tree | ae4ac9154932587ffe1c8acc64effb9fb44806c1 /conf | |
parent | a95fff37937171302167e670bd8b6e80d447cf65 (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')
-rw-r--r-- | conf/conf.c | 1 | ||||
-rw-r--r-- | conf/confbase.Y | 1 |
2 files changed, 2 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; diff --git a/conf/confbase.Y b/conf/confbase.Y index cdbdf1ce..4bf70ccf 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -100,6 +100,7 @@ CF_DECLS mpls_label_stack *mls; const struct adata *bs; struct aggr_item_node *ai; + struct cli_config *cli; } %token END CLI_MARKER INVALID_TOKEN ELSECOL DDOT |