gint idx;
*msg_str = match_strval_idx((guint32) (oct & DTAP_RR_IEI_MASK), gsm_a_dtap_msg_rr_strings, &idx);
- *ett_tree = ett_gsm_dtap_msg_rr[idx];
*hf_idx = hf_gsm_a_dtap_msg_rr_type;
- *msg_fcn = dtap_msg_rr_fcn[idx];
+ if (*msg_str != NULL) {
+ *ett_tree = ett_gsm_dtap_msg_rr[idx];
+ *msg_fcn = dtap_msg_rr_fcn[idx];
+ }
return;
}
gint idx;
*msg_str = match_strval_idx((guint32) mess_type, gsm_a_sacch_msg_rr_strings, &idx);
- *ett_tree = ett_gsm_sacch_msg_rr[idx];
*hf_idx = hf_gsm_a_sacch_msg_rr_type;
- *msg_fcn = sacch_msg_rr_fcn[idx];
+ if (*msg_str != NULL) {
+ *ett_tree = ett_gsm_sacch_msg_rr[idx];
+ *msg_fcn = sacch_msg_rr_fcn[idx];
+ }
}
const value_string short_protocol_discriminator_vals[] = {