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

pespin gerrit-no-reply at lists.osmocom.org
Wed Aug 21 15:21:05 UTC 2019


pespin has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/63/15263/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190821/0d6f746d/attachment.html>


More information about the gerrit-log mailing list