svn path=/trunk/; revision=51628
* 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);
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;
}