aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lbmr.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-lbmr.c')
-rw-r--r--epan/dissectors/packet-lbmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lbmr.c b/epan/dissectors/packet-lbmr.c
index 398c3c01b1..80eb36a026 100644
--- a/epan/dissectors/packet-lbmr.c
+++ b/epan/dissectors/packet-lbmr.c
@@ -5290,7 +5290,7 @@ static int dissect_lbmr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
{
gint tvb_len = packet_len - opt_total_len;
- packet_tvb = tvb_new_subset(tvb, 0, tvb_len, tvb_len);
+ packet_tvb = tvb_new_subset_length(tvb, 0, tvb_len);
}
}
}