aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-itdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-itdm.c')
-rw-r--r--epan/dissectors/packet-itdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-itdm.c b/epan/dissectors/packet-itdm.c
index 679adbc2e7..022f9039f7 100644
--- a/epan/dissectors/packet-itdm.c
+++ b/epan/dissectors/packet-itdm.c
@@ -364,7 +364,7 @@ dissect_itdm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* ZZZ for now, 125 usec mode and I-TDM control protocol
* need to add 1ms mode */
- if (tvb_length(tvb) < 18)
+ if (tvb_captured_length(tvb) < 18)
return;
/* See if this packet is a data flow or the I-TDM control flow. */