aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kingfisher.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-kingfisher.c')
-rw-r--r--epan/dissectors/packet-kingfisher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-kingfisher.c b/epan/dissectors/packet-kingfisher.c
index 2235bf9cd3..06679d8a5b 100644
--- a/epan/dissectors/packet-kingfisher.c
+++ b/epan/dissectors/packet-kingfisher.c
@@ -232,7 +232,7 @@ dissect_kingfisher(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
/* verify the length */
kfp.length = tvb_get_guint8(tvb, 2);
- if((kfp.length+1) != (guint8)tvb_length(tvb)){
+ if((kfp.length+1) != (guint8)tvb_captured_length(tvb)){
return FALSE;
}