summaryrefslogtreecommitdiff
path: root/src/pdu_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdu_decode.c')
-rw-r--r--src/pdu_decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdu_decode.c b/src/pdu_decode.c
index 2b9e44c..140fd14 100644
--- a/src/pdu_decode.c
+++ b/src/pdu_decode.c
@@ -230,7 +230,8 @@ int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu, int *nr_octe
*nr_octets = pdu->user_data_len;
pdu->user_data_len = octet_align_cdma(pdu->user_data_len);
}
- } else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_EIGHT) {
+ } else if ((pdu->data_coding.general.alphabet == PDU_ALPHABET_EIGHT) ||
+ (pdu->data_coding.general.alphabet == PDU_ALPHABET_CDMA_EIGHT)) {
log_debug("data coding alphabet is eight");
if (pdu->user_data_len > PDU_UD_8BIT_MAX) {