aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcpv6.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-10-18 16:50:49 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-10-18 16:50:49 +0000
commitb29f57e4e0409a5495ac221a452857ca2920db1b (patch)
treecce35e4e4c67e68a471f46f483f8905dba456f8a /epan/dissectors/packet-dhcpv6.c
parent3da84159eb0d859496ab1c2c617d38b82e43a344 (diff)
Fix Coverity CID 739070: Unused pointer value.
svn path=/trunk/; revision=45636
Diffstat (limited to 'epan/dissectors/packet-dhcpv6.c')
-rw-r--r--epan/dissectors/packet-dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c
index e440153d37..afb19d26a2 100644
--- a/epan/dissectors/packet-dhcpv6.c
+++ b/epan/dissectors/packet-dhcpv6.c
@@ -941,7 +941,7 @@ dissect_cablelabs_specific_opts(proto_tree *v_tree, proto_item *v_item, packet_i
if ((tlv_len % field_len) == 0) {
for (i = 0; i < tlv_len/field_len; i++) {
- proto_tree_add_item(v_tree, hf_cablelabs_ipv6_server, tvb, sub_off, 16, ENC_BIG_ENDIAN);
+ proto_tree_add_item(subtree, hf_cablelabs_ipv6_server, tvb, sub_off, 16, ENC_BIG_ENDIAN);
sub_off += field_len;
}
}