diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-13 19:46:11 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-13 19:46:11 +0000 |
commit | 7a110cbd72b578020d8ef6c867a316fdc5d9d759 (patch) | |
tree | e3d1280ddcbb3ea542ab9588b0e888da296a8cfe /epan/dissectors/packet-ncp2222.inc | |
parent | 87c84f537263f28c31357d6e72fceca5c1e914ab (diff) |
Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28356 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ncp2222.inc')
-rw-r--r-- | epan/dissectors/packet-ncp2222.inc | 4 |
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"); |