aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xcsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-xcsl.c')
-rw-r--r--epan/dissectors/packet-xcsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xcsl.c b/epan/dissectors/packet-xcsl.c
index 8bd49b979b..2abc3be958 100644
--- a/epan/dissectors/packet-xcsl.c
+++ b/epan/dissectors/packet-xcsl.c
@@ -179,7 +179,7 @@ static void dissect_xcsl_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
while (tvb_reported_length_remaining(tvb, offset) != 0) {
- length_remaining = tvb_ensure_captured_length_remaining(tvb, offset);
+ length_remaining = tvb_ensure_length_remaining(tvb, offset);
if ( length_remaining == -1 ) {
return;
}