diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-05-11 00:19:51 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-05-11 00:20:02 +0700 |
commit | 5227207506bfd58d9936b3385ca87fa97c42e5b7 (patch) | |
tree | 28ca5cf711a17183d45454fb82ea26ca8ba9b203 | |
parent | efcaff0b804bbd73a01d510fd1a4c5ccb752f802 (diff) |
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
-rw-r--r-- | stp/stp_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ int main(int argc, char **argv) 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); |