aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ncp2222.inc
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-05-13 19:46:11 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-05-13 19:46:11 +0000
commitc91a384702e6d17254918e2291d28bfd2deddbdd (patch)
treee3d1280ddcbb3ea542ab9588b0e888da296a8cfe /epan/dissectors/packet-ncp2222.inc
parentfbd05f0fce6a10a1f3059c40628962bc056e10ef (diff)
Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
Diffstat (limited to 'epan/dissectors/packet-ncp2222.inc')
-rw-r--r--epan/dissectors/packet-ncp2222.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc
index 489a16073f..64b9924890 100644
--- a/epan/dissectors/packet-ncp2222.inc
+++ b/epan/dissectors/packet-ncp2222.inc
@@ -7445,10 +7445,8 @@ nds_defrag(tvbuff_t *tvb, packet_info *pinfo, guint32 nw_connection, guint8 sequ
/* Is this the last fragment? nds_frag will indicate */
if (fd_head->next != NULL && !request_value->nds_frag)
{
- frag_tvb = tvb_new_real_data(fd_head->data,
+ frag_tvb = tvb_new_child_real_data(tvb, fd_head->data,
fd_head->len, fd_head->len);
- tvb_set_child_real_data_tvbuff(tvb,
- frag_tvb);
add_new_data_source(pinfo,
frag_tvb,
"Reassembled NDS");