summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-meta.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-meta.c')
-rw-r--r--epan/dissectors/packet-meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-meta.c b/epan/dissectors/packet-meta.c
index 197af34077..c652e955a3 100644
--- a/epan/dissectors/packet-meta.c
+++ b/epan/dissectors/packet-meta.c
@@ -595,7 +595,7 @@ dissect_meta(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
break;
case META_PROTO_DXT_HDLC:
next_dissector = mtp2_handle;
- next_tvb = tvb_new_subset(tvb, item_len + META_HEADER_SIZE,
+ next_tvb = tvb_new_subset_length_caplen(tvb, item_len + META_HEADER_SIZE,
tvb_reported_length(tvb)-item_len-META_HEADER_SIZE-2, -1);
break;
default: