diff options
Diffstat (limited to 'epan/dissectors/packet-wol.c')
-rw-r--r-- | epan/dissectors/packet-wol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wol.c b/epan/dissectors/packet-wol.c index 8f84c12e11..046a301206 100644 --- a/epan/dissectors/packet-wol.c +++ b/epan/dissectors/packet-wol.c @@ -98,7 +98,7 @@ dissect_wol_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data * in Wireshark handing an HTTP packet to your dissector). For example: */ /* Check that there's enough data */ - len = tvb_captured_length(tvb); + len = tvb_length(tvb); if ( len < 102 ) /* wol's smallest packet size is 102 */ return (0); |