[PATCH] 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
Wed Nov 22 23:47:04 UTC 2017


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

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

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


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

diff --git a/src/hnbgw_cn.c b/src/hnbgw_cn.c
index b84a08d..b94a239 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: newchange
Gerrit-Change-Id: I6395dcde35359617cae52ff59d4eb53930097c7d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list