daniel has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/29196 )
Change subject: Install show talloc-context VTY commands
......................................................................
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/96/29196/1
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
https://gerrit.osmocom.org/c/osmo-hnbgw/+/29196
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: Ia4b0023028405ce065f618f536c92ea2bcd0ce15
Gerrit-Change-Number: 29196
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: newchange