summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-btl2cap.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-10-30 16:00:30 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-10-30 16:00:30 +0000
commite17b9ccec18b9efaacb370ff715c19b09f1b4ea0 (patch)
tree96ced51f0ba70bc067960c979a5243c43d4a52d7 /epan/dissectors/packet-btl2cap.c
parentb94da93586f8af151aea9ef60e2d409761371a5a (diff)
downloadwireshark-e17b9ccec18b9efaacb370ff715c19b09f1b4ea0.tar.gz
Rev 29427 added packet_add_new_data_source() with a comment indicating that
the data source does not need to be allocated if (!tree). Rev 30158 took the if (!tree) check out indicating that the check was invalid. So: (since packet_add_new_data_source() now only calls add_new_data_source()), remove packet_add_new_data_source(). svn path=/trunk/; revision=34717
Diffstat (limited to 'epan/dissectors/packet-btl2cap.c')
-rw-r--r--epan/dissectors/packet-btl2cap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btl2cap.c b/epan/dissectors/packet-btl2cap.c
index eedf2e21f7..67e03c5278 100644
--- a/epan/dissectors/packet-btl2cap.c
+++ b/epan/dissectors/packet-btl2cap.c
@@ -928,7 +928,7 @@ dissect_i_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
}
if(segment == 0x02 && mfp && mfp->last_frame==pinfo->fd->num){
next_tvb = tvb_new_child_real_data(tvb, (guint8*)mfp->reassembled, mfp->tot_len, mfp->tot_len);
- packet_add_new_data_source(pinfo, btl2cap_tree, next_tvb, "Reassembled L2CAP");
+ add_new_data_source(pinfo, next_tvb, "Reassembled L2CAP");
}
/*pass up to higher layer if we have a complete packet*/
if(segment == 0x00) {