Add more GSM SIM Toolkit info to info column

svn path=/trunk/; revision=53302
This commit is contained in:
Pascal Quantin 2013-11-13 17:28:18 +00:00
parent 219fb7fa3e
commit 53a29dee19
2 changed files with 4 additions and 0 deletions

View File

@ -1058,6 +1058,8 @@ dissect_cat(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ims_event = TRUE;
}
proto_tree_add_uint(elem_tree, hf_ctlv_event, tvb, pos+i, 1, event);
col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
val_to_str(event, event_list_vals, "%02x "));
}
break;
case 0x1b: /* location status */

View File

@ -1111,6 +1111,8 @@ dissect_bertlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* FIXME: properly follow BER coding rules */
tag = tvb_get_guint8(tvb, pos++);
col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
val_to_str(tag, ber_tlv_cat_tag_vals, "%02x "));
len = tvb_get_guint8(tvb, pos++);
switch (len) {
case 0x81: