[MERGED] osmo-iuh[master]: cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Jan 16 11:31:00 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome
......................................................................


cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome

HNBAP isn't really that important to osmo-hnbgw operation, all we do is service
the few requests so that the other side is happy and uses our Iuh.
Nevertheless, could at least log if an UnsuccessfulOutcome was received.

Change-Id: I3f309dc2d3436798e9e76bcc2ebd82403ea538a1
---
M src/hnbgw_hnbap.c
1 file changed, 4 insertions(+), 0 deletions(-)

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



diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index fab520d..2746c21 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -529,6 +529,10 @@
 static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, UnsuccessfulOutcome_t *msg)
 {
 	/* We don't care much about HNBAP */
+	LOGP(DHNBAP, LOGL_ERROR, "Received Unsuccessful Outcome, procedureCode %ld, criticality %ld,"
+	     " from '%s', cell mcc %u mnc %u lac %u rac %u sac %u cid %u\n",
+	     msg->procedureCode, msg->criticality, hnb->identity_info,
+	     hnb->id.mcc, hnb->id.mnc, hnb->id.lac, hnb->id.rac, hnb->id.sac, hnb->id.cid);
 	return 0;
 }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3f309dc2d3436798e9e76bcc2ebd82403ea538a1
Gerrit-PatchSet: 1
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



More information about the gerrit-log mailing list