Fix two expert calls on the wrong proto_item.
svn path=/trunk/; revision=51628
This commit is contained in:
parent
3c1e67c22d
commit
6c9fd6e751
|
@ -1067,7 +1067,7 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
* at the end of the packet. */
|
||||
if (size < 4)
|
||||
{
|
||||
proto_tree_add_expert_format(pt, pinfo, &ei_collectd_garbage, tvb,
|
||||
proto_tree_add_expert_format(pi, pinfo, &ei_collectd_garbage, tvb,
|
||||
offset, -1,
|
||||
"Garbage at end of packet: Length = %i <BAD>",
|
||||
size);
|
||||
|
|
|
@ -3890,7 +3890,7 @@ dissect_dvbci_apdu(tvbuff_t *tvb, circuit_t *circuit,
|
|||
pi = proto_tree_add_item(
|
||||
app_tree, hf_dvbci_apdu_tag, tvb, 0, APDU_TAG_SIZE, ENC_BIG_ENDIAN);
|
||||
if (tag_str == NULL) {
|
||||
expert_add_info(pinfo, app_tree, &ei_dvbci_apdu_tag);
|
||||
expert_add_info(pinfo, pi, &ei_dvbci_apdu_tag);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue