diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-09-04 20:11:37 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-09-04 20:21:22 +0000 |
commit | 82f5bdf1e1d332a8005698987890763ed3496ad7 (patch) | |
tree | f484ec9723183e618de2490c6c0b21deb9903cdc /epan/dissectors/packet-icmpv6.c | |
parent | 5ec1ab41011a4413caaca829ef50fdf745703b7c (diff) |
ICMPv6: Remove soft deprecated API (tvb_length -> tvb_captured_length)
Change-Id: Ib6161f778d902430f0903f5aef2df40c8166c5aa
Reviewed-on: https://code.wireshark.org/review/3992
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r-- | epan/dissectors/packet-icmpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c index f96caf14fd..812c5acaca 100644 --- a/epan/dissectors/packet-icmpv6.c +++ b/epan/dissectors/packet-icmpv6.c @@ -3281,7 +3281,7 @@ dissect_icmpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) cksum = tvb_get_ntohs(tvb, offset); if (1) { /* There's an expert info in here so always execute */ - length = tvb_length(tvb); + length = tvb_captured_length(tvb); reported_length = tvb_reported_length(tvb); if (!pinfo->fragmented && length >= reported_length) { /* The packet isn't part of a fragmented datagram and isn't |