aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mint.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-mint.c')
-rw-r--r--epan/dissectors/packet-mint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mint.c b/epan/dissectors/packet-mint.c
index fb97a0f1e2..469d3fddd6 100644
--- a/epan/dissectors/packet-mint.c
+++ b/epan/dissectors/packet-mint.c
@@ -291,7 +291,7 @@ dissect_eth_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *mint_tree,
col_set_writable(pinfo->cinfo, FALSE);
#endif
- eth_tvb = tvb_new_subset(tvb, offset, length, length);
+ eth_tvb = tvb_new_subset_length(tvb, offset, length);
/* Continue after Ethernet dissection errors */
TRY {
call_dissector(eth_handle, eth_tvb, pinfo, mint_tree);