diff options
author | Michael Mann <mmann78@netscape.net> | 2014-06-19 17:17:16 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-06-19 17:23:41 +0000 |
commit | daa70feddcd3ff35f2771b0b8c4e1be8e5a4e7ea (patch) | |
tree | cc9a1f72f6c69ebd216dd795733f23a51963bbaa /epan/dissectors/packet-btavctp.c | |
parent | 46a808acf4e8c87b61169bfac00799857b38f1f0 (diff) |
Revert "Fixup: tvb_ensure_length_remaining -> tvb_ensure_captured_length_remaining"
See https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html
This reverts commit 021e7afc9fcba09094d0e2143cc434a34e3b09dc.
Change-Id: I0640eabce5ce8c4ff3a88ebf848b499f8bb8ed2f
Reviewed-on: https://code.wireshark.org/review/2429
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-btavctp.c')
-rw-r--r-- | epan/dissectors/packet-btavctp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btavctp.c b/epan/dissectors/packet-btavctp.c index 65d87bceb8..50c468673c 100644 --- a/epan/dissectors/packet-btavctp.c +++ b/epan/dissectors/packet-btavctp.c @@ -212,7 +212,7 @@ dissect_btavctp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) val_to_str_const(cr, cr_vals, "unknown CR"), transaction, val_to_str_const(packet_type, packet_type_vals, "unknown packet type")); - length = tvb_ensure_captured_length_remaining(tvb, offset); + length = tvb_ensure_length_remaining(tvb, offset); /* reassembling */ next_tvb = tvb_new_subset_length(tvb, offset, length); |