Change in libosmo-sccp[master]: osmo-stp: expose root talloc context to the VTY code

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Fri May 10 18:05:33 UTC 2019


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 <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190510/4f73dd62/attachment.htm>


More information about the gerrit-log mailing list