forked from osmocom/wireshark
qcdiag_msg: Add summary info to root node
Change-Id: I9769c6834a5fed6698695170e4bac775922c1a14
This commit is contained in:
parent
d570049af3
commit
1ed4f95185
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue