aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tdmoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tdmoe.c')
-rw-r--r--epan/dissectors/packet-tdmoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tdmoe.c b/epan/dissectors/packet-tdmoe.c
index 9559883a46..adc841eea9 100644
--- a/epan/dissectors/packet-tdmoe.c
+++ b/epan/dissectors/packet-tdmoe.c
@@ -69,7 +69,7 @@ dissect_tdmoe(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U
int chan;
/* Check that there's enough data */
- if (tvb_length(tvb) < 8)
+ if (tvb_captured_length(tvb) < 8)
return 0;
subaddress = tvb_get_ntohs(tvb, 0);