Vadim Yanitskiy has uploaded this change for review. (
https://gerrit.osmocom.org/13970
Change subject: osmo-stp: expose root talloc context to the VTY code
......................................................................
osmo-stp: expose root talloc context to the VTY code
In Id0789c4946929b783c54220de439958001f94992 I introduced the VTY
commands for talloc-context introspection, but forgot to expose
the root talloc-context.
Change-Id: Id2bf6cdae112f9791c93411c1837de488cab9ee3
---
M stp/stp_main.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/70/13970/1
diff --git a/stp/stp_main.c b/stp/stp_main.c
index aa77e61..6a47403 100644
--- a/stp/stp_main.c
+++ b/stp/stp_main.c
@@ -166,6 +166,8 @@
msgb_talloc_ctx_init(tall_stp_ctx, 0);
osmo_init_logging2(tall_stp_ctx, &log_info);
osmo_stats_init(tall_stp_ctx);
+
+ vty_info.tall_ctx = tall_stp_ctx;
vty_init(&vty_info);
handle_options(argc, argv);
--
To view, visit https://gerrit.osmocom.org/13970
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2bf6cdae112f9791c93411c1837de488cab9ee3
Gerrit-Change-Number: 13970
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>