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 e580cd4a5a..1d8439d9c1 100644
--- a/epan/dissectors/packet-isl.c
+++ b/epan/dissectors/packet-isl.c
@@ -259,7 +259,7 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int fcs_len)
length -= 12;
/* Trim the captured length. */
- captured_length = tvb_length_remaining(payload_tvb, 12);
+ captured_length = tvb_captured_length_remaining(payload_tvb, 12);
/* Make sure it's not bigger than the actual length. */
if (captured_length > length)