aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rpc.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-05-29 06:16:43 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-05-29 06:16:43 +0000
commitb4aeb97ed51b1f0d868c8a17ae1d50587a0418f1 (patch)
treef8b96534cae249fd6fa8618f2602a4ba10168354 /epan/dissectors/packet-rpc.c
parent96505bc99dfdf0d572f0434d8e9222c42024c2e0 (diff)
tvb_new_real_data -> tvb_new_child_real_data
svn path=/trunk/; revision=28517
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r--epan/dissectors/packet-rpc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c
index 4722790ede..68ecfbae12 100644
--- a/epan/dissectors/packet-rpc.c
+++ b/epan/dissectors/packet-rpc.c
@@ -3223,16 +3223,10 @@ dissect_rpc_fragment(tvbuff_t *tvb, int offset, packet_info *pinfo,
* Create a new TVB structure for
* defragmented data.
*/
- rec_tvb = tvb_new_real_data(ipfd_head->data,
+ rec_tvb = tvb_new_child_real_data(tvb, ipfd_head->data,
ipfd_head->datalen, ipfd_head->datalen);
/*
- * Add this tvb as a child to the original
- * one.
- */
- tvb_set_child_real_data_tvbuff(tvb, rec_tvb);
-
- /*
* Add defragmented data to the data source list.
*/
add_new_data_source(pinfo, rec_tvb, "Defragmented");