From 956447024d7094dc0470f09b3f1d02420e8c6d58 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 29 Jun 2005 11:59:42 +0000 Subject: 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 --- proto_hier_stats.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'proto_hier_stats.c') 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; } -- cgit v1.2.1