aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_common.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-04-02 15:30:33 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-04-03 05:22:04 +0000
commite4e59eb06548688e2522e38b223f5fe01c0bf15c (patch)
tree0db7419d94b378833d29be2cb4fdc8ea78fe3a5b /epan/dissectors/packet-gsm_a_common.c
parent4e68f01c09c1587760635ac6a354c032eea4b735 (diff)
3GPP NAS: display Short Element Identifier as it was done prior to ge74cb41
Change-Id: Ie001b420eb1fd29c8f5c941e69f4e2929250d887 Reviewed-on: https://code.wireshark.org/review/7885 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r--epan/dissectors/packet-gsm_a_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c
index b695b26e48..533f27c05c 100644
--- a/epan/dissectors/packet-gsm_a_common.c
+++ b/epan/dissectors/packet-gsm_a_common.c
@@ -1603,7 +1603,7 @@ guint16 elem_tv_short(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint
subtree = proto_tree_add_subtree_format(tree, tvb, curr_offset, -1, elem_ett[idx], &item,
"%s%s", elem_name, (name_add == NULL) || (name_add[0] == '\0') ? "" : name_add);
- proto_tree_add_item(subtree, hf_gsm_a_common_elem_id_f0, tvb, curr_offset, 1, ENC_NA);
+ proto_tree_add_uint_format_value(subtree, hf_gsm_a_common_elem_id_f0, tvb, curr_offset, 1, oct, "0x%1x-", oct>>4);
if (elem_funcs[idx] == NULL)
{