aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-yhoo.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-23 11:13:21 -0700
committerEvan Huus <eapache@gmail.com>2015-06-23 18:13:41 +0000
commit9723c7a2f877f635f308c1534935ec4a90c661f8 (patch)
tree449c3aff0c2f004569356ee987a9906805d2f9b7 /epan/dissectors/packet-yhoo.c
parentbc1472502f871d5d7d178f5588f9b5ed7a226180 (diff)
Remove more deprecated tvb_length calls
Change-Id: Ie40a195db622ebfb096fa5088c5467a1385e69bf Reviewed-on: https://code.wireshark.org/review/9062 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-yhoo.c')
-rw-r--r--epan/dissectors/packet-yhoo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-yhoo.c b/epan/dissectors/packet-yhoo.c
index 2985934c5a..c024f06f25 100644
--- a/epan/dissectors/packet-yhoo.c
+++ b/epan/dissectors/packet-yhoo.c
@@ -184,7 +184,7 @@ dissect_yhoo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
}
/* get at least a full packet structure */
- if ( tvb_length(tvb) < YAHOO_RAWPACKET_LEN ) {
+ if ( tvb_captured_length(tvb) < YAHOO_RAWPACKET_LEN ) {
/* Not enough data captured; maybe it is a Yahoo
Messenger packet, but it contains too little data to
tell. */