aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-08 12:57:51 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-08 12:57:51 +0100
commitf8ec3483e36c001c1743fe5ac9cd15012f76357b (patch)
treee5978655bd486c2b1cb112c635a6228bc4240766
parentb1c02700efdd8be68d07e12d50b84ae512da93d6 (diff)
qcdiag_msg: Add summary info to root node
-rw-r--r--epan/dissectors/packet-qcdiag_msg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-qcdiag_msg.c b/epan/dissectors/packet-qcdiag_msg.c
index 1f8a28ce93..a587bd47b8 100644
--- a/epan/dissectors/packet-qcdiag_msg.c
+++ b/epan/dissectors/packet-qcdiag_msg.c
@@ -180,10 +180,14 @@ dissect_qcdiag_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void * d
break;
}
+ proto_item_append_text(ti, ", Subsys: %u, Mask: 0x%04x, %s:%u",
+ subsys_id, subsys_mask, file_name, line_nr);
+
if (str) {
col_append_str((pinfo)->cinfo, COL_INFO, str);
gi = proto_tree_add_string(diag_msg_tree, hf_qcdiag_msg_formatted_str, tvb, fmtstr_offset, strlen(fmtstr), str);
PROTO_ITEM_SET_GENERATED(gi);
+ proto_item_append_text(ti, " %s", str);
}
return tvb_captured_length(tvb);