aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-14 00:45:57 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-14 00:45:57 +0100
commitefa55a454174da12a44c750377b3605d9bfbf7ef (patch)
tree65c407f0e6d3543f297df67b08651059cdd07271 /src/common/main.c
parent54be46949e93e07e9e57b706388ebb832e5fad0a (diff)
osmo-bts: Add talloc context introspection via VTY
This requires libosmocore with Change-Id I43fc42880b22294d83c565ae600ac65e4f38b30d or later. Change-Id: Ieed87b8109e0095a3d99c30f0b042aa3ee4b6384
Diffstat (limited to 'src/common/main.c')
-rw-r--r--src/common/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/main.c b/src/common/main.c
index 2804ca6c..b7d56531 100644
--- a/src/common/main.c
+++ b/src/common/main.c
@@ -235,6 +235,7 @@ int bts_main(int argc, char **argv)
tall_bts_ctx = talloc_named_const(NULL, 1, "OsmoBTS context");
msgb_talloc_ctx_init(tall_bts_ctx, 100*1024);
+ bts_vty_info.tall_ctx = tall_bts_ctx;
bts_log_init(NULL);
vty_init(&bts_vty_info);