Holger Freyther has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12326 )

Change subject: mobile: Use new VTY telnet API to allow binding to random port
......................................................................

mobile: Use new VTY telnet API to allow binding to random port

Change-Id: I5a6214aec2dcb92495038ea8311c0df22fa8d07b
---
M src/host/layer23/src/mobile/app_mobile.c
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Vadim Yanitskiy: Looks good to me, but someone else must approve; Verified
  Stefan Sperling: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



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 @@
                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));

--
To view, visit https://gerrit.osmocom.org/12326
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5a6214aec2dcb92495038ea8311c0df22fa8d07b
Gerrit-Change-Number: 12326
Gerrit-PatchSet: 2
Gerrit-Owner: Holger Freyther <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Holger Freyther <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Stefan Sperling <[email protected]>
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>

Reply via email to