summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-12-16 06:06:33 +0000
committerHolger Freyther <holger@freyther.de>2018-12-23 05:25:37 +0000
commit271993c2827974eb7bfbcab8297c3bf3f911b24d (patch)
tree780f18855f65832b7a995c0c0df503fa25f4df21 /src
parent2e861308d65b650642ad9215cd877172e17a4ba0 (diff)
mobile: Use new VTY telnet API to allow binding to random port
Diffstat (limited to 'src')
-rw-r--r--src/host/layer23/src/mobile/app_mobile.c3
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 84dec86..8b5fc91 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));