forked from osmocom/wireshark
This dissector calls process_reassembled_data() so there's no need for it to
manually insert the fragment data to the tree (by calling show_fragment_tree()); doing both just means the fragments get added to the tree twice. svn path=/trunk/; revision=41022
This commit is contained in:
parent
0cb2500e45
commit
045c1d6a1e
|
@ -917,18 +917,6 @@ dissect_rtp_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* Data was dissected so add the protocol tree to the display
|
||||
*/
|
||||
proto_item *rtp_tree_item, *frag_tree_item;
|
||||
/* this nargery is to insert the fragment tree into the main tree
|
||||
* between the RTP protocol entry and the subdissector entry */
|
||||
show_fragment_tree(fd_head, &rtp_fragment_items, tree, pinfo, newtvb, &frag_tree_item);
|
||||
rtp_tree_item = proto_tree_get_parent( rtp_tree );
|
||||
if( frag_tree_item && rtp_tree_item )
|
||||
proto_tree_move_item( tree, rtp_tree_item, frag_tree_item );
|
||||
|
||||
|
||||
if(pinfo->desegment_len)
|
||||
{
|
||||
/* the higher-level dissector has asked for some more data - ie,
|
||||
|
|
Loading…
Reference in New Issue