aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee8023.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-23 21:30:15 -0700
committerEvan Huus <eapache@gmail.com>2015-06-24 04:30:35 +0000
commit69cdfe9410e0bc2a3f22a0b499dad19e2323864a (patch)
treef1b760228aa379c2d1c955db3fd94fcdddb848a0 /epan/dissectors/packet-ieee8023.c
parentd0faa9adf8c82fb3e8751fdbff32d5f7203666c9 (diff)
Remove another batch of deprecated tvb_length calls
Change-Id: Icfdde38e40cca05d0705a081153a4ea3e8782ee7 Reviewed-on: https://code.wireshark.org/review/9086 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ieee8023.c')
-rw-r--r--epan/dissectors/packet-ieee8023.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee8023.c b/epan/dissectors/packet-ieee8023.c
index da4a9dfcbb..422963864f 100644
--- a/epan/dissectors/packet-ieee8023.c
+++ b/epan/dissectors/packet-ieee8023.c
@@ -68,7 +68,7 @@ dissect_802_3(volatile int length, gboolean is_802_2, tvbuff_t *tvb,
}
/* Give the next dissector only 'length' number of bytes. */
- captured_length = tvb_length_remaining(tvb, offset_after_length);
+ captured_length = tvb_captured_length_remaining(tvb, offset_after_length);
if (captured_length > length)
captured_length = length;
next_tvb = tvb_new_subset(tvb, offset_after_length, captured_length, length);