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

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/66/5166/1

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: newchange
Gerrit-Change-Id: If5d0a1500de5e2c4b80acf025761d0264a8a51a0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to