From 8b515e9340f9eb93c79b74d129b1fddfb8e5299a Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 16 Aug 2009 12:36:22 +0000 Subject: Switch a bunch of dissectors over to using tvb_new_subset_remaining() svn path=/trunk/; revision=29446 --- epan/dissectors/packet-fddi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-fddi.c') diff --git a/epan/dissectors/packet-fddi.c b/epan/dissectors/packet-fddi.c index 9cf32e49bd..e3ec43b038 100644 --- a/epan/dissectors/packet-fddi.c +++ b/epan/dissectors/packet-fddi.c @@ -367,7 +367,7 @@ dissect_fddi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, PROTO_ITEM_SET_HIDDEN(hidden_item); } - next_tvb = tvb_new_subset(tvb, FDDI_HEADER_SIZE + FDDI_PADDING, -1, -1); + next_tvb = tvb_new_subset_remaining(tvb, FDDI_HEADER_SIZE + FDDI_PADDING); tap_queue_packet(fddi_tap, pinfo, fddihdr); -- cgit v1.2.1