aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mac-lte.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-11 00:29:40 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-11 00:29:40 +0000
commit37ef044e8d46d72cecedef431275de0b72c78178 (patch)
tree05955219350906f9c36f828cc2164ce2fca4e837 /epan/dissectors/packet-mac-lte.c
parent3f55caf52ff47df57b423423171eadb438e8f372 (diff)
Show subheaders summary in subheader root item.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35908 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mac-lte.c')
-rw-r--r--epan/dissectors/packet-mac-lte.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c
index dae15f9699..0a15173980 100644
--- a/epan/dissectors/packet-mac-lte.c
+++ b/epan/dissectors/packet-mac-lte.c
@@ -2262,13 +2262,26 @@ static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree
switch (pdu_lengths[number_of_headers]) {
case -1:
proto_item_append_text(pdu_subheader_ti, ", length is remainder)");
+ proto_item_append_text(pdu_header_ti, " (%s:remainder)",
+ val_to_str_const(lcids[number_of_headers],
+ (direction == DIRECTION_UPLINK) ? ulsch_lcid_vals : dlsch_lcid_vals,
+ "Unknown"));
break;
case 0:
proto_item_append_text(pdu_subheader_ti, ")");
+ proto_item_append_text(pdu_header_ti, " (%s)",
+ val_to_str_const(lcids[number_of_headers],
+ (direction == DIRECTION_UPLINK) ? ulsch_lcid_vals : dlsch_lcid_vals,
+ "Unknown"));
break;
default:
proto_item_append_text(pdu_subheader_ti, ", length=%u)",
pdu_lengths[number_of_headers]);
+ proto_item_append_text(pdu_header_ti, " (%s:%u)",
+ val_to_str_const(lcids[number_of_headers],
+ (direction == DIRECTION_UPLINK) ? ulsch_lcid_vals : dlsch_lcid_vals,
+ "Unknown"),
+ pdu_lengths[number_of_headers]);
break;
}