aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dplay.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-22 17:19:23 -0700
committerEvan Huus <eapache@gmail.com>2015-06-23 00:19:41 +0000
commit958cef5d68f4e18fc648a0bbb30408eb206fb0ef (patch)
treef49f047e15a9bc811499efee611c99118ecd1e36 /epan/dissectors/packet-dplay.c
parent67ab8a059c489022aebe0e27d1f937c7b6abad06 (diff)
Remove more deprecated tvb_length
Change-Id: Iac23a6c804ad3720d37186559477909b2ff33eb2 Reviewed-on: https://code.wireshark.org/review/9042 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dplay.c')
-rw-r--r--epan/dissectors/packet-dplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c
index f52e606407..8249094ad5 100644
--- a/epan/dissectors/packet-dplay.c
+++ b/epan/dissectors/packet-dplay.c
@@ -1124,7 +1124,7 @@ static gboolean heur_dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree
{
guint32 dplay_id, token;
- if(tvb_length(tvb) < 25)
+ if(tvb_captured_length(tvb) < 25)
return FALSE;
/* The string play = 0x706c6179 */