daniel submitted this change.
Install show talloc-context VTY commands
Related: OS#5656
Change-Id: Ia4b0023028405ce065f618f536c92ea2bcd0ce15
---
M src/osmo-hnbgw/hnbgw.c
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c
index 526622b..fe503f8 100644
--- a/src/osmo-hnbgw/hnbgw.c
+++ b/src/osmo-hnbgw/hnbgw.c
@@ -49,6 +49,7 @@
#include <osmocom/ctrl/ports.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/logging.h>
+#include <osmocom/vty/misc.h>
#include <osmocom/vty/command.h>
#include <osmocom/vty/ports.h>
@@ -623,6 +624,7 @@
exit(1);
}
+ vty_info.tall_ctx = tall_hnb_ctx;
vty_info.copyright = osmo_hnbgw_copyright;
vty_init(&vty_info);
@@ -631,6 +633,7 @@
hnbgw_vty_init(g_hnb_gw, tall_hnb_ctx);
ctrl_vty_init(tall_hnb_ctx);
logging_vty_add_cmds();
+ osmo_talloc_vty_add_cmds();
/* Handle options after vty_init(), for --version */
handle_options(argc, argv);
To view, visit change 29196. To unsubscribe, or for help writing mail filters, visit settings.