fixeria submitted this change.
vty: register talloc / stats introspection commands
Change-Id: I05ecc74426f68e19a18b7111ebc39ef504735d15
---
M src/cbc_main.c
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/cbc_main.c b/src/cbc_main.c
index d34546d..09dbaed 100644
--- a/src/cbc_main.c
+++ b/src/cbc_main.c
@@ -270,6 +270,8 @@
sbcap_set_log_area(DSBcAP, DASN1C);
osmo_stats_init(tall_cbc_ctx);
osmo_fsm_log_timeouts(true);
+
+ vty_info.tall_ctx = tall_cbc_ctx;
vty_init(&vty_info);
g_cbc = cbc_alloc(tall_cbc_ctx);
@@ -280,6 +282,8 @@
logging_vty_add_cmds();
osmo_fsm_vty_add_cmds();
+ osmo_stats_vty_add_cmds();
+ osmo_talloc_vty_add_cmds();
rc = vty_read_config_file(cmdline_config.config_file, NULL);
if (rc < 0) {
To view, visit change 40732. To unsubscribe, or for help writing mail filters, visit settings.