diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-06-29 11:59:42 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-06-29 11:59:42 +0000 |
commit | 956447024d7094dc0470f09b3f1d02420e8c6d58 (patch) | |
tree | c897aac841a3376ec4f3b4f821c7874bea0c39bb /proto_hier_stats.c | |
parent | c7c28d51123c696c65bc56936ef1da991129d170 (diff) |
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
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 974d6dc1b3..b634712d2e 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -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; } |