diff options
author | Evan Huus <eapache@gmail.com> | 2013-09-01 13:43:26 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-09-01 13:43:26 +0000 |
commit | 6c9fd6e751fda95c2c532390ded683993361cb2c (patch) | |
tree | db0f646f64f8647716cafca5e56b4c620522ada0 /epan/dissectors/packet-collectd.c | |
parent | 3c1e67c22d3455c0244f1413e0a412f42105782d (diff) |
Fix two expert calls on the wrong proto_item.
svn path=/trunk/; revision=51628
Diffstat (limited to 'epan/dissectors/packet-collectd.c')
-rw-r--r-- | epan/dissectors/packet-collectd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-collectd.c b/epan/dissectors/packet-collectd.c index 4eb4a6a7b9..8f178c75f5 100644 --- a/epan/dissectors/packet-collectd.c +++ b/epan/dissectors/packet-collectd.c @@ -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); |