aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ppi.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-23 15:17:27 -0700
committerEvan Huus <eapache@gmail.com>2015-06-23 22:17:56 +0000
commit0a9a2554a46ce4e040dba669a3ed22f0e9ab709e (patch)
tree931067907b96dc2f2ad7bf815f28aad90f6a0f6b /epan/dissectors/packet-ppi.c
parentd4f6480253cf303f70c3d831098adf7582403b8f (diff)
Remove more deprecated tvb_length calls
Change-Id: Ie137e6f4e20fe26b1a4d9510e267896219c1c631 Reviewed-on: https://code.wireshark.org/review/9075 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ppi.c')
-rw-r--r--epan/dissectors/packet-ppi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c
index e35c22e237..ab48e23b2a 100644
--- a/epan/dissectors/packet-ppi.c
+++ b/epan/dissectors/packet-ppi.c
@@ -1010,7 +1010,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
if (ppi_ampdu_reassemble && DOT11N_IS_AGGREGATE(n_ext_flags)) {
- len_remain = tvb_length_remaining(tvb, offset);
+ len_remain = tvb_captured_length_remaining(tvb, offset);
#if 0 /* XXX: pad_len never actually used ?? */
if (DOT11N_MORE_AGGREGATES(n_ext_flags)) {
pad_len = PADDING4(len_remain);