diff options
Diffstat (limited to 'epan/dissectors/packet-btrfcomm.c')
-rw-r--r-- | epan/dissectors/packet-btrfcomm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btrfcomm.c b/epan/dissectors/packet-btrfcomm.c index 2d4734ce74..fac6d1224f 100644 --- a/epan/dissectors/packet-btrfcomm.c +++ b/epan/dissectors/packet-btrfcomm.c @@ -760,8 +760,7 @@ dissect_btrfcomm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) rfcomm_ppp_frame *p; for (p = rps->ppp_first; p; p = p->next) { - next_tvb = tvb_new_real_data((guint8 *) (p + 1), p->len, p->len); - tvb_set_child_real_data_tvbuff(tvb, next_tvb); + next_tvb = tvb_new_child_real_data(tvb, (guint8 *) (p + 1), p->len, p->len); add_new_data_source(pinfo, next_tvb, "Reassembled PPP frame"); call_dissector(ppp_handle, next_tvb, pinfo, tree); } |