aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-21 17:03:56 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-21 17:17:11 +0200
commitd956e16c7ba6059658708bdd92ea364b9524ed87 (patch)
tree0a4aa3fd2cd06989bea4c90e595365c12543fa3c
parent2c90899bc4386d4e5dae41e098b17e87cae99e42 (diff)
gprs_gmm.c: Print value_string of reject cause
-rw-r--r--src/gprs/gprs_gmm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index dccec2ba..1d8ec577 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -2455,7 +2455,8 @@ int gsm48_tx_gsm_act_pdp_rej(struct sgsn_mm_ctx *mm, uint8_t tid,
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);