diff options
Diffstat (limited to 'epan/dissectors/packet-yhoo.c')
-rw-r--r-- | epan/dissectors/packet-yhoo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-yhoo.c b/epan/dissectors/packet-yhoo.c index 2df810adb5..2d92f9f8b4 100644 --- a/epan/dissectors/packet-yhoo.c +++ b/epan/dissectors/packet-yhoo.c @@ -186,7 +186,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. */ |