Switch a bunch of dissectors over to using tvb_new_subset_remaining()
[obnox/wireshark/wip.git] / plugins / docsis / packet-uccreq.c
index 781496813fa414461860e1f1125b46d8a8a5220b..5490db5a9d15b2f9cf112ab277f66ab820eac9ca 100644 (file)
@@ -77,7 +77,7 @@ dissect_uccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                           FALSE);
 
       /* call dissector for Appendix C TLV's */
-      next_tvb = tvb_new_subset (tvb, 1, -1, -1);
+      next_tvb = tvb_new_subset_remaining (tvb, 1);
       call_dissector (docsis_tlv_handle, next_tvb, pinfo, uccreq_tree);
     }