diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-21 17:03:56 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-21 17:17:11 +0200 |
commit | d956e16c7ba6059658708bdd92ea364b9524ed87 (patch) | |
tree | 0a4aa3fd2cd06989bea4c90e595365c12543fa3c | |
parent | 2c90899bc4386d4e5dae41e098b17e87cae99e42 (diff) |
gprs_gmm.c: Print value_string of reject cause
Change-Id: I71d9abcf7e3a836c475b7adbb95a82580e41ae6d
-rw-r--r-- | src/gprs/gprs_gmm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index dccec2bad..1d8ec577c 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); |