Switch a bunch of dissectors over to using tvb_new_subset_remaining()
[obnox/wireshark/wip.git] / plugins / docsis / packet-dsaack.c
index d9b6b4d8683348141c4eabe8f8d20cae014eece7..43808054e3fc822704f9f7e1a0dfc57f73b1fa49 100644 (file)
@@ -84,7 +84,7 @@ dissect_dsaack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                           FALSE);
 
       /* Call Dissector for Appendix C TLV's */
-      next_tvb = tvb_new_subset (tvb, 3, -1, -1);
+      next_tvb = tvb_new_subset_remaining (tvb, 3);
       call_dissector (docsis_tlv_handle, next_tvb, pinfo, dsaack_tree);
     }
 }