aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-snaeth.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-snaeth.c')
-rw-r--r--epan/dissectors/packet-snaeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-snaeth.c b/epan/dissectors/packet-snaeth.c
index bd9b3b278c..c0ba428715 100644
--- a/epan/dissectors/packet-snaeth.c
+++ b/epan/dissectors/packet-snaeth.c
@@ -74,7 +74,7 @@ dissect_snaeth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/*
* Rest of packet starts with an 802.2 LLC header.
*/
- next_tvb = tvb_new_subset(tvb, 3, -1, -1);
+ next_tvb = tvb_new_subset_remaining(tvb, 3);
call_dissector(llc_handle, next_tvb, pinfo, tree);
}