Holger Freyther has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/26/12326/1

diff --git a/src/host/layer23/src/mobile/app_mobile.c 
b/src/host/layer23/src/mobile/app_mobile.c
index a051fba..907a58f 100644
--- a/src/host/layer23/src/mobile/app_mobile.c
+++ b/src/host/layer23/src/mobile/app_mobile.c
@@ -464,8 +464,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: newchange
Gerrit-Change-Id: I5a6214aec2dcb92495038ea8311c0df22fa8d07b
Gerrit-Change-Number: 12326
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <[email protected]>

Reply via email to