pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-cbc/+/40736?usp=email )


Change subject: sbcap: Listen on (127.0.0.1|::1) by default
......................................................................

sbcap: Listen on (127.0.0.1|::1) by default

Follow what's described in the User Manual:
"The default is to bind to the 3GPP standard port number 29168 for
SBc-AP at the loopback IP address 127.0.0.1 and ::1."

Change-Id: I6cb1c7031c09469e7b7c29a0733e99faea9f6615
---
M src/cbc_data.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/36/40736/1

diff --git a/src/cbc_data.c b/src/cbc_data.c
index a9c2c9e..16efc88 100644
--- a/src/cbc_data.c
+++ b/src/cbc_data.c
@@ -112,7 +112,8 @@
                return;

        g_cbc->config.sbcap.local_host[0] = talloc_strdup(g_cbc, "127.0.0.1");
-       g_cbc->config.sbcap.num_local_host = 1;
+       g_cbc->config.sbcap.local_host[1] = talloc_strdup(g_cbc, "::1");
+       g_cbc->config.sbcap.num_local_host = 2;
 }

 int cbc_start(struct cbc *cbc)

--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/40736?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: I6cb1c7031c09469e7b7c29a0733e99faea9f6615
Gerrit-Change-Number: 40736
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>

Reply via email to