[MERGED] osmo-iuh[master]: osmo-hnbgw: don't configure specific local IP address for ST...

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Dec 10 14:30:39 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: osmo-hnbgw: don't configure specific local IP address for STP connection
......................................................................


osmo-hnbgw: don't configure specific local IP address for STP connection

It's not necessary to set a local IP to connect to OsmoSTP with, 'any' is as
good as any.

Related: OS#2663
Change-Id: If5d0a1500de5e2c4b80acf025761d0264a8a51a0
---
M src/hnbgw.c
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/hnbgw.c b/src/hnbgw.c
index 5c0570e..c1b931c 100644
--- a/src/hnbgw.c
+++ b/src/hnbgw.c
@@ -478,8 +478,7 @@
 
 	ranap_set_log_area(DRANAP);
 
-	rc = hnbgw_cnlink_init(g_hnb_gw,
-			       "127.0.0.1", M3UA_PORT, "127.0.0.5" /* FIXME: configurable */);
+	rc = hnbgw_cnlink_init(g_hnb_gw, "127.0.0.1", M3UA_PORT, NULL);
 	if (rc < 0) {
 		LOGP(DMAIN, LOGL_ERROR, "Failed to initialize SCCP link to CN\n");
 		exit(1);

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If5d0a1500de5e2c4b80acf025761d0264a8a51a0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list