Gb: use textual representation for parse log

Use textual representation for message type and protocol descriminator
in case of Gb parsing errors.

Change-Id: Ida925258be119619d8705361730c554a130b75bc
Related: SYS#3610
This commit is contained in:
Max 2017-05-05 13:24:03 +02:00
parent c6e8a01e70
commit 7b5dbc2805
1 changed files with 2 additions and 3 deletions

View File

@ -380,9 +380,8 @@ int gprs_gb_parse_dtap(uint8_t *data, size_t data_len,
default:
LOGP(DLLC, LOGL_NOTICE,
"Unknown GSM 04.08 message type 0x%02hhx for protocol"
" discriminator 0x%02hhx.\n",
msg_type, pdisc);
"Unhandled GSM 04.08 message type %s for protocol discriminator %s.\n",
get_value_string(gprs_msgt_gmm_names, msg_type), get_value_string(gsm48_pdisc_names, pdisc));
break;
};