Fix two expert calls on the wrong proto_item.

svn path=/trunk/; revision=51628
This commit is contained in:
Evan Huus 2013-09-01 13:43:26 +00:00
parent 3c1e67c22d
commit 6c9fd6e751
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}