Revert "Fixup: tvb_* -> tvb_captured"
[metze/wireshark/wip.git] / epan / dissectors / packet-tdmoe.c
index adc841eea9a6dcde753d6646a7e2625f25a36f50..9559883a46a47640613e6c42e342ca89a1023747 100644 (file)
@@ -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);