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-hpext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-hpext.c') diff --git a/epan/dissectors/packet-hpext.c b/epan/dissectors/packet-hpext.c index c5bf4760c5..259fae689f 100644 --- a/epan/dissectors/packet-hpext.c +++ b/epan/dissectors/packet-hpext.c @@ -83,7 +83,7 @@ dissect_hpext(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) val_to_str(sxsap, xsap_vals, "%04x")); if (tvb_length_remaining(tvb, 7) > 0) { - next_tvb = tvb_new_subset(tvb, 7, -1, -1); + next_tvb = tvb_new_subset_remaining(tvb, 7); if (!dissector_try_port(subdissector_table, dxsap, next_tvb, pinfo, tree)) { call_dissector(data_handle, next_tvb, pinfo, tree); -- cgit v1.2.3