sysmobts_mgr, lc15bts_mgr: fix tall context for telnet vty

Instead of passing the msgb ctx to telnet_init(), pass the *mgr* ctx.

Change-Id: I213fe52648a1937d8f8c1730ce787e42f0add75f
This commit is contained in:
Neels Hofmeyr 2016-09-16 01:58:25 +02:00 committed by Harald Welte
parent a570e05ec8
commit eb08a87be5
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ int main(int argc, char **argv)
exit(1);
}
rc = telnet_init(tall_msgb_ctx, NULL, OSMO_VTY_PORT_BTSMGR);
rc = telnet_init(tall_mgr_ctx, NULL, OSMO_VTY_PORT_BTSMGR);
if (rc < 0) {
fprintf(stderr, "Error initializing telnet\n");
exit(1);

View File

@ -274,7 +274,7 @@ int main(int argc, char **argv)
exit(1);
}
rc = telnet_init(tall_msgb_ctx, NULL, OSMO_VTY_PORT_BTSMGR);
rc = telnet_init(tall_mgr_ctx, NULL, OSMO_VTY_PORT_BTSMGR);
if (rc < 0) {
fprintf(stderr, "Error initializing telnet\n");
exit(1);