[PATCH] osmo-mgw[master]: vty: assign new VTY port numbr

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/.

dexter gerrit-no-reply at lists.osmocom.org
Fri Nov 10 10:07:51 UTC 2017


Review at  https://gerrit.osmocom.org/4770

vty: assign new VTY port numbr

Osmo-mgw currently uses VTY port number of osmo-bsc_mgwp, which
may lead to colisions when operating osmo-bsc_mgcp and osmo-mgw
at the same time on the same machine.

Assign osmo-mgw a new port number

Change-Id: I2ca66897a39c7f20c58a3ebae0c70af0a3b6899f
Depends: libosmocore Ied224fe94b5152fd19e259396fbc0eaf69be4b96
---
M src/osmo-mgw/mgw_main.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/70/4770/1

diff --git a/src/osmo-mgw/mgw_main.c b/src/osmo-mgw/mgw_main.c
index ab54e62..6932468 100644
--- a/src/osmo-mgw/mgw_main.c
+++ b/src/osmo-mgw/mgw_main.c
@@ -279,7 +279,7 @@
 
 	/* start telnet after reading config for vty_get_bind_addr() */
 	rc = telnet_init_dynif(tall_bsc_ctx, NULL,
-			       vty_get_bind_addr(), OSMO_VTY_PORT_BSC_MGCP);
+			       vty_get_bind_addr(), OSMO_VTY_PORT_MGW);
 	if (rc < 0)
 		return rc;
 

-- 
To view, visit https://gerrit.osmocom.org/4770
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ca66897a39c7f20c58a3ebae0c70af0a3b6899f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list