aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pulse.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-pulse.c')
-rw-r--r--epan/dissectors/packet-pulse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pulse.c b/epan/dissectors/packet-pulse.c
index 59b5071e05..5be79fa941 100644
--- a/epan/dissectors/packet-pulse.c
+++ b/epan/dissectors/packet-pulse.c
@@ -63,7 +63,7 @@ dissect_pulse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void*
const char* magic_str;
guint little_endian;
- if (tvb_length(tvb) < 4)
+ if (tvb_captured_length(tvb) < 4)
return 0;
/* Try to read MAGIC in both endians */