Neels Hofmeyr has submitted this change and it was merged.

Change subject: cosmetic: osmo-hnbgw: log remote SCCP addresses on startup
......................................................................


cosmetic: osmo-hnbgw: log remote SCCP addresses on startup

Change-Id: I6395dcde35359617cae52ff59d4eb53930097c7d
---
M src/hnbgw_cn.c
1 file changed, 5 insertions(+), 0 deletions(-)

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



diff --git a/src/hnbgw_cn.c b/src/hnbgw_cn.c
index eba05a4..c48f4b7 100644
--- a/src/hnbgw_cn.c
+++ b/src/hnbgw_cn.c
@@ -506,6 +506,11 @@
                return -1;
        }
 
+       LOGP(DRANAP, LOGL_NOTICE, "Remote SCCP addr: IuCS: %s\n",
+            osmo_sccp_addr_name(ss7, &gw->sccp.iucs_remote_addr));
+       LOGP(DRANAP, LOGL_NOTICE, "Remote SCCP addr: IuPS: %s\n",
+            osmo_sccp_addr_name(ss7, &gw->sccp.iups_remote_addr));
+
        /* In sccp_sap_up() we expect the cnlink in the user's priv. */
        osmo_sccp_user_set_priv(cnlink->sccp_user, cnlink);
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6395dcde35359617cae52ff59d4eb53930097c7d
Gerrit-PatchSet: 2
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>

Reply via email to