aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/m2m
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-07-14 17:34:16 +0000
committerGuy Harris <guy@alum.mit.edu>2013-07-14 17:34:16 +0000
commitb161d15f0e2d57e9f7a7464980329f9b844f9616 (patch)
tree6df6e37bf72fe4c5fa0e1d5262b98677abcb8083 /plugins/m2m
parent976cca3f9873c7f5c1c82aebc0b00d825c38e6a7 (diff)
Use tvb_new_chain with the tvbuffs from a reassembly.
svn path=/trunk/; revision=50585
Diffstat (limited to 'plugins/m2m')
-rw-r--r--plugins/m2m/packet-m2m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c
index 540e806a89..81c43ecb9d 100644
--- a/plugins/m2m/packet-m2m.c
+++ b/plugins/m2m/packet-m2m.c
@@ -460,8 +460,8 @@ static void pdu_burst_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset, gint
pdu_frag = fragment_add_seq(&pdu_reassembly_table, tvb, offset, pinfo, burst_number, NULL, frag_number - 1, length, ((frag_type==TLV_LAST_FRAG)?0:1), 0);
if(pdu_frag && frag_type == TLV_LAST_FRAG)
{
- /* get the new tvb for defragmented frame */
- pdu_tvb = pdu_frag->tvb_data;
+ /* create the new tvb for defragmented frame */
+ pdu_tvb = tvb_new_chain(tvb, pdu_frag->tvb_data);
/* add the defragmented data to the data source list */
add_new_data_source(pinfo, pdu_tvb, "Reassembled WiMax PDU Frame");
}