From 271993c2827974eb7bfbcab8297c3bf3f911b24d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Dec 2018 06:06:33 +0000 Subject: mobile: Use new VTY telnet API to allow binding to random port Change-Id: I5a6214aec2dcb92495038ea8311c0df22fa8d07b --- src/host/layer23/src/mobile/app_mobile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/host/layer23/src/mobile') 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)); -- cgit v1.2.3