add fix for bug 224

we now put generated items as top-level items in the decode pane so
we should not check and abort if such are found.

svn path=/trunk/; revision=14819
This commit is contained in:
Ronnie Sahlberg 2005-06-29 11:59:42 +00:00
parent c7c28d5112
commit 956447024d
1 changed files with 4 additions and 2 deletions

View File

@ -96,8 +96,10 @@ process_node(proto_node *ptree_node, GNode *parent_stat_node, ph_stats_t *ps, gu
* as they don't belong to any protocol.
* (happens e.g. for toplevel tree item of desegmentation "[Reassembled TCP Segments]") */
if(finfo->hfinfo->parent != -1) {
/* this should only happen for generated items */
g_assert(PROTO_ITEM_IS_GENERATED(ptree_node));
/* there are some cases where helpful generated items are added
* to the decode tree so do not test for it any more
*g_assert(PROTO_ITEM_IS_GENERATED(ptree_node));
*/
return;
}