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-rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-rx.c') diff --git a/epan/dissectors/packet-rx.c b/epan/dissectors/packet-rx.c index 9816453b7a..e70cb18051 100644 --- a/epan/dissectors/packet-rx.c +++ b/epan/dissectors/packet-rx.c @@ -580,7 +580,7 @@ dissect_rx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) void* pd_save; pd_save = pinfo->private_data; pinfo->private_data = &rxinfo; - next_tvb = tvb_new_subset(tvb, offset, -1, -1); + next_tvb = tvb_new_subset_remaining(tvb, offset); call_dissector(afs_handle, next_tvb, pinfo, parent_tree); pinfo->private_data = pd_save; }; -- cgit v1.2.3