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 16 06:12:56 UTC 2018


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 <holger at freyther.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181216/67613823/attachment.htm>


More information about the gerrit-log mailing list