aboutsummaryrefslogtreecommitdiffstats
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-24 22:11:55 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-24 22:11:55 +0000
commit122dd3959ca27de3e7a35436e70f19516a0b184a (patch)
tree90a19c950b02cb33c0756f1869298051d9bdc78c /proto_hier_stats.c
parent2e94fc8139c9260a983c737bdddea36eb5d84343 (diff)
Make the recent epan/proto.{c,h} change compile.
svn path=/trunk/; revision=9075
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 70898297f1..2e475bde99 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -1,7 +1,7 @@
/* proto_hier_stats.c
* Routines for calculating statistics based on protocol.
*
- * $Id: proto_hier_stats.c,v 1.17 2003/09/03 23:32:40 guy Exp $
+ * $Id: proto_hier_stats.c,v 1.18 2003/11/24 22:11:53 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -86,10 +86,10 @@ process_node(proto_item *ptree_node, GNode *parent_stat_node, ph_stats_t *ps, gu
finfo = PITEM_FINFO(ptree_node);
g_assert(finfo);
- stat_node = find_stat_node(parent_stat_node, finfo->hfinfo);
+ stat_node = find_stat_node(parent_stat_node, finfo->ptr_u.hfinfo);
/* Assert that the finfo is related to a protocol, not a field. */
- g_assert(finfo->hfinfo->parent == -1);
+ g_assert(finfo->ptr_u.hfinfo->parent == -1);
stats = STAT_NODE_STATS(stat_node);
stats->num_pkts_total++;