diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2018-12-16 06:06:33 +0000 |
---|---|---|
committer | Holger Freyther <holger@freyther.de> | 2018-12-23 05:25:37 +0000 |
commit | 271993c2827974eb7bfbcab8297c3bf3f911b24d (patch) | |
tree | 780f18855f65832b7a995c0c0df503fa25f4df21 /src | |
parent | 2e861308d65b650642ad9215cd877172e17a4ba0 (diff) |
mobile: Use new VTY telnet API to allow binding to random port
Change-Id: I5a6214aec2dcb92495038ea8311c0df22fa8d07b
Diffstat (limited to 'src')
-rw-r--r-- | src/host/layer23/src/mobile/app_mobile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c index 84dec865..8b5fc915 100644 --- a/src/host/layer23/src/mobile/app_mobile.c +++ b/src/host/layer23/src/mobile/app_mobile.c @@ -454,8 +454,7 @@ int l23_app_init(int (*mncc_recv)(struct osmocom_ms *ms, int, void *), LOGP(DMOB, LOGL_INFO, "Using configuration from '%s'\n", config_file); } vty_reading = 0; - rc = telnet_init_dynif(l23_ctx, NULL, - vty_get_bind_addr(), OSMO_VTY_PORT_BB); + rc = telnet_init_default(l23_ctx, NULL, OSMO_VTY_PORT_BB); if (rc < 0) { LOGP(DMOB, LOGL_FATAL, "Cannot init VTY on %s port %u: %s\n", vty_get_bind_addr(), OSMO_VTY_PORT_BB, strerror(errno)); |