aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcpv6.c
diff options
context:
space:
mode:
authorAndersBroman <a.broman@bredband.net>2015-04-16 15:58:53 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-16 14:01:45 +0000
commit338f3a5eb1618507035fdabaece8f54d6be54379 (patch)
treeb7c57c1ac38f85e912567b5b0a6a8623e441300f /epan/dissectors/packet-dhcpv6.c
parent4171f5590b0df5506c98e559100e21300edb33d0 (diff)
Remove deprecated tvb_lengt APIs
Change-Id: Ic3c364384dcc1d87089d646665f5900081de13df Reviewed-on: https://code.wireshark.org/review/8089 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dhcpv6.c')
-rw-r--r--epan/dissectors/packet-dhcpv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c
index 7db92c00e7..f49c99cf22 100644
--- a/epan/dissectors/packet-dhcpv6.c
+++ b/epan/dissectors/packet-dhcpv6.c
@@ -2051,7 +2051,7 @@ dissect_dhcpv6_bulk_leasequery_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree
offset += dhcpv6_option(tvb, pinfo, option_tree, FALSE, offset,
end, &at_end, proto_dhcpv6_bulk_leasequery, hpi);
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}
static int
@@ -2059,7 +2059,7 @@ dissect_dhcpv6_bulk_leasequery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
{
tcp_dissect_pdus(tvb, pinfo, tree, dhcpv6_bulk_leasequery_desegment, 2,
get_dhcpv6_bulk_leasequery_pdu_len, dissect_dhcpv6_bulk_leasequery_pdu, data);
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}
void