Change in ...osmo-sgsn[master]: gprs_gmm.c: Print value_string of reject cause

laforge gerrit-no-reply at lists.osmocom.org
Fri Aug 23 07:00:52 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15263 )

Change subject: gprs_gmm.c: Print value_string of reject cause
......................................................................

gprs_gmm.c: Print value_string of reject cause

Change-Id: I71d9abcf7e3a836c475b7adbb95a82580e41ae6d
---
M src/gprs/gprs_gmm.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index dccec2b..1d8ec57 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -2455,7 +2455,8 @@
 	struct gsm48_hdr *gh;
 	uint8_t transaction_id = tid ^ 0x8; /* flip */
 
-	LOGMMCTXP(LOGL_NOTICE, mm, "<- ACTIVATE PDP CONTEXT REJ(cause=%u)\n", cause);
+	LOGMMCTXP(LOGL_NOTICE, mm, "<- ACTIVATE PDP CONTEXT REJ: %s\n",
+		  get_value_string(gsm48_gsm_cause_names, cause));
 	rate_ctr_inc(&sgsn->rate_ctrs->ctr[CTR_PDP_ACTIVATE_REJECT]);
 
 	mmctx2msgid(msg, mm);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/15263
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I71d9abcf7e3a836c475b7adbb95a82580e41ae6d
Gerrit-Change-Number: 15263
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190823/3a0e2e23/attachment.html>


More information about the gerrit-log mailing list