diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-05-13 19:46:11 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-05-13 19:46:11 +0000 |
commit | c91a384702e6d17254918e2291d28bfd2deddbdd (patch) | |
tree | e3d1280ddcbb3ea542ab9588b0e888da296a8cfe /epan/dissectors/packet-iax2.c | |
parent | fbd05f0fce6a10a1f3059c40628962bc056e10ef (diff) |
Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization
svn path=/trunk/; revision=28356
Diffstat (limited to 'epan/dissectors/packet-iax2.c')
-rw-r--r-- | epan/dissectors/packet-iax2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c index 673b40aa98..24ae6b0ecf 100644 --- a/epan/dissectors/packet-iax2.c +++ b/epan/dissectors/packet-iax2.c @@ -1892,8 +1892,7 @@ static void desegment_iax(tvbuff_t *tvb, packet_info *pinfo, proto_tree *iax2_tr if(fd_head && (pinfo->fd->num == fd_head->reassembled_in)) { gint32 old_len; - tvbuff_t *next_tvb = tvb_new_real_data(fd_head->data, fd_head->datalen, fd_head->datalen); - tvb_set_child_real_data_tvbuff(tvb, next_tvb); + tvbuff_t *next_tvb = tvb_new_child_real_data(tvb, fd_head->data, fd_head->datalen, fd_head->datalen); add_new_data_source(pinfo, next_tvb, "Reassembled IAX2"); process_iax_pdu(next_tvb,pinfo,tree,video,iax_packet); |