diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-07-14 17:34:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-07-14 17:34:16 +0000 |
commit | b161d15f0e2d57e9f7a7464980329f9b844f9616 (patch) | |
tree | 6df6e37bf72fe4c5fa0e1d5262b98677abcb8083 /plugins/wimax/mac_hd_generic_decoder.c | |
parent | 976cca3f9873c7f5c1c82aebc0b00d825c38e6a7 (diff) |
Use tvb_new_chain with the tvbuffs from a reassembly.
svn path=/trunk/; revision=50585
Diffstat (limited to 'plugins/wimax/mac_hd_generic_decoder.c')
-rw-r--r-- | plugins/wimax/mac_hd_generic_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/mac_hd_generic_decoder.c b/plugins/wimax/mac_hd_generic_decoder.c index 9ae8451faa..c5bedb040e 100644 --- a/plugins/wimax/mac_hd_generic_decoder.c +++ b/plugins/wimax/mac_hd_generic_decoder.c @@ -1089,8 +1089,8 @@ void dissect_mac_header_generic_decoder(tvbuff_t *tvb, packet_info *pinfo, proto if (payload_frag && frag_type == LAST_FRAG) { /* defragmented completely */ payload_length = payload_frag->len; - /* get the new tvb for defragmented frame */ - payload_tvb = payload_frag->tvb_data; + /* create the new tvb for defragmented frame */ + payload_tvb = tvb_new_chain(tvb, payload_frag->tvb_data); /* add the defragmented data to the data source list */ add_new_data_source(pinfo, payload_tvb, "Reassembled WiMax MAC payload"); /* save the tvb langth */ |