Change in osmocom-bb[master]: mobile: Use new VTY telnet API to allow binding to random port

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Sun Dec 23 05:25:38 UTC 2018


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 <holger at freyther.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Stefan Sperling <stsp at stsp.name>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181223/2bdd57ac/attachment.htm>


More information about the gerrit-log mailing list