aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-14 00:50:27 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-14 00:56:07 +0000
commit2f4f4b8604b2a9c9304404bde9053f1c9f7ad75e (patch)
tree6c3a591f160a621f3888ef2fdf53fc85f9a02fc2 /src/osmo-bsc
parent73acbca50fe109bcd58f90c1a282b0c75a81b97b (diff)
osmo-bsc: Add talloc context introspection via VTY
This requires libosmocore with Change-Id I43fc42880b22294d83c565ae600ac65e4f38b30d or later. Change-Id: I1245b6818eb54f5c0c8adddcd3a01ecc7363fb42
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 1aff4c533..3deb3691c 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -197,6 +197,7 @@ int main(int argc, char **argv)
tall_bsc_ctx = talloc_named_const(NULL, 1, "openbsc");
msgb_talloc_ctx_init(tall_bsc_ctx, 0);
+ vty_info.tall_ctx = tall_bsc_ctx;
osmo_init_logging(&log_info);
osmo_stats_init(tall_bsc_ctx);