diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-29 11:59:42 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-29 11:59:42 +0000 |
commit | 361e7abc0bb5c11c72ef2e63d381f15a292e0620 (patch) | |
tree | c897aac841a3376ec4f3b4f821c7874bea0c39bb /proto_hier_stats.c | |
parent | e43360e379e778f5c49da598e464209238a47012 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14819 f5534014-38df-0310-8fa8-9805f1628bb7
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; } |