aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lapbether.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-lapbether.c')
-rw-r--r--epan/dissectors/packet-lapbether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lapbether.c b/epan/dissectors/packet-lapbether.c
index 2486169ed5..611d460d45 100644
--- a/epan/dissectors/packet-lapbether.c
+++ b/epan/dissectors/packet-lapbether.c
@@ -62,7 +62,7 @@ dissect_lapbether(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
- next_tvb = tvb_new_subset(tvb, 2, len, len);
+ next_tvb = tvb_new_subset_length(tvb, 2, len);
call_dissector(lapb_handle, next_tvb, pinfo, tree);
}