git.samba.org
/
metze
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Fixup: tvb_* -> tvb_captured"
[metze/wireshark/wip.git]
/
epan
/
dissectors
/
packet-vlan.c
diff --git
a/epan/dissectors/packet-vlan.c
b/epan/dissectors/packet-vlan.c
index 92374da90cada3da8af6138df278e1f0d46993b3..4479ce67cb7fb4532c7244dc8d0d31111f1f318d 100644
(file)
--- a/
epan/dissectors/packet-vlan.c
+++ b/
epan/dissectors/packet-vlan.c
@@
-180,7
+180,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_
captured_
length_remaining(tvb, 4) >= 2) {
+ if (tvb_length_remaining(tvb, 4) >= 2) {
if (tvb_get_ntohs(tvb, 4) == 0xffff) {
is_802_2 = FALSE;
}