aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atmtcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-atmtcp.c')
-rw-r--r--epan/dissectors/packet-atmtcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-atmtcp.c b/epan/dissectors/packet-atmtcp.c
index 407c762a5c..12c3e9613e 100644
--- a/epan/dissectors/packet-atmtcp.c
+++ b/epan/dissectors/packet-atmtcp.c
@@ -101,7 +101,7 @@ dissect_atmtcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
/* Data (for the moment...) */
next_tvb = tvb_new_subset_remaining(tvb, offset);
call_dissector(data_handle, next_tvb, pinfo, tree);
- return tvb_length(tvb);
+ return tvb_captured_length(tvb);
}