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

sccp init: pass no local m3ua addr to use defaults

Remove the FIXMEs because these addresses are configurable via the cs7 /
{as,asp} vty commands.

Change-Id: Ibafda0a9097183c26b21f3380d24dbe293e132e2
---
M src/gprs/sgsn_main.c
1 file changed, 3 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/40/3740/1

diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index e24a57b..8ffc6c8 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -479,10 +479,9 @@
 #if BUILD_IU
        sccp = osmo_sccp_simple_client(tall_bsc_ctx, "OsmoSGSN",
                                       2 /* FIXME: configurable */,
-                                      OSMO_SS7_ASP_PROT_M3UA, 0,
-                                      "127.0.0.4" /* FIXME: configurable */,
-                                      M3UA_PORT,
-                                      "127.0.0.1" /* FIXME: configurable */);
+                                      OSMO_SS7_ASP_PROT_M3UA,
+                                      0, NULL,
+                                      0, "127.0.0.1");
        if (!sccp) {
                printf("Setting up SCCP client failed.\n");
                return 8;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibafda0a9097183c26b21f3380d24dbe293e132e2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to