aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isl.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-isl.c')
-rw-r--r--epan/dissectors/packet-isl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isl.c b/epan/dissectors/packet-isl.c
index 4ee2a58437..e580cd4a5a 100644
--- a/epan/dissectors/packet-isl.c
+++ b/epan/dissectors/packet-isl.c
@@ -195,7 +195,7 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int fcs_len)
the data specified by the length field. */
TRY {
- payload_tvb = tvb_new_subset(tvb, 14, length, length);
+ payload_tvb = tvb_new_subset_length(tvb, 14, length);
trailer_tvb = tvb_new_subset_remaining(tvb, 14 + length);
}
CATCH_BOUNDS_ERRORS {