diff options
Diffstat (limited to 'epan/dissectors/packet-tdmoe.c')
-rw-r--r-- | epan/dissectors/packet-tdmoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tdmoe.c b/epan/dissectors/packet-tdmoe.c index adc841eea9..9559883a46 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_captured_length(tvb) < 8) + if (tvb_length(tvb) < 8) return 0; subaddress = tvb_get_ntohs(tvb, 0); |