Revert "Fixup: tvb_* -> tvb_captured"
[metze/wireshark/wip.git] / epan / dissectors / packet-peekremote.c
index da951e27386ef56ab76d254d0a6376a9622a75f6..c198dfdaa917e947d4bd73f631448549ad6fe884 100644 (file)
@@ -467,7 +467,7 @@ dissect_peekremote_legacy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v
    */
   if (dissect_peekremote_new(tvb, pinfo, tree, u)) {
     /* Yup, it was peekremote-ng, and it's been dissected as such. */
-    return tvb_captured_length(tvb);
+    return tvb_length(tvb);
   }
 
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "PEEKREMOTE");