diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-16 01:58:25 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-09-24 03:36:22 +0000 |
commit | eb08a87be52bf55a78c12689f1e5c7cff627cbbc (patch) | |
tree | c5bd1adb9696668eb6eb57292b7e8dc1e923b622 /src/osmo-bts-sysmo/misc/sysmobts_mgr.c | |
parent | a570e05ec865c846cbc3bfbdaef4eafe3b7a2da6 (diff) |
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
Diffstat (limited to 'src/osmo-bts-sysmo/misc/sysmobts_mgr.c')
-rw-r--r-- | src/osmo-bts-sysmo/misc/sysmobts_mgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c index fce375b9..ccb84d8a 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c +++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c @@ -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); |