aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icmpv6.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-10-31 23:36:21 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-10-31 23:36:21 +0000
commit857aec6194653aaa56ad54b588933f37113cbde4 (patch)
tree3e32af189a9016f844d5b85c7f314a2af809a79c /epan/dissectors/packet-icmpv6.c
parent346b3d7b1c86fc1c9334b9414626c0533dec021d (diff)
Make the protocol tree item for ICMPv6 cover the entire ICMPv6 packet,
including any included packet. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12458 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r--epan/dissectors/packet-icmpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c
index e7badf1f18..fe424f222c 100644
--- a/epan/dissectors/packet-icmpv6.c
+++ b/epan/dissectors/packet-icmpv6.c
@@ -1232,7 +1232,7 @@ dissect_icmpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (tree) {
/* !!! specify length */
- ti = proto_tree_add_item(tree, proto_icmpv6, tvb, offset, len, FALSE);
+ ti = proto_tree_add_item(tree, proto_icmpv6, tvb, offset, -1, FALSE);
icmp6_tree = proto_item_add_subtree(ti, ett_icmpv6);
proto_tree_add_uint_format(icmp6_tree, hf_icmpv6_type, tvb,