diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-21 06:48:58 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-06-21 22:38:59 +0000 |
commit | ebc8ec83fdaefd6253aeb8db587f2d3b413fc340 (patch) | |
tree | 54c523d543a8e2ea7866e13ba062e2524202fa23 /epan/dissectors/packet-vlan.c | |
parent | a2e2c1f99783b5ad1048e9bba5b7a2834680b5fd (diff) |
Remove deprecated tvb_length from a bunch of dissectors
Change-Id: I5c777806cb1403062a9d85261149d722df57b239
Reviewed-on: https://code.wireshark.org/review/9005
Reviewed-by: Evan Huus <eapache@gmail.com>
Petri-Dish: Evan Huus <eapache@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-vlan.c')
-rw-r--r-- | epan/dissectors/packet-vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c index 5217c6da71..5f7d258bcc 100644 --- a/epan/dissectors/packet-vlan.c +++ b/epan/dissectors/packet-vlan.c @@ -179,7 +179,7 @@ dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) is_802_2 = TRUE; /* Don't throw an exception for this check (even a BoundsError) */ - if (tvb_length_remaining(tvb, 4) >= 2) { + if (tvb_captured_length_remaining(tvb, 4) >= 2) { if (tvb_get_ntohs(tvb, 4) == 0xffff) { is_802_2 = FALSE; } |