[MERGED] osmo-iuh[master]: cosmetic: osmo-hnbgw: log remote SCCP addresses on startup

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Nov 24 14:05:42 UTC 2017


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 <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list