summaryrefslogtreecommitdiff
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-03 09:28:26 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-03 09:28:26 +0000
commitdcd98ae8d334081d0b4e0f4c6902ac128dfeb000 (patch)
tree1d14652d65d1690cfc1980777b9bc90aac75b4c2 /proto_hier_stats.c
parented2ae2d8d3eb9bdf13562825d28a7a60869b5c56 (diff)
downloadwireshark-dcd98ae8d334081d0b4e0f4c6902ac128dfeb000.tar.gz
The "ptr_u" unions no longer have a "next" pointer - they now just have
one member - or have one that's not used, so get rid of those unions. svn path=/trunk/; revision=9151
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 2e475bde99..266c7dd070 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.18 2003/11/24 22:11:53 guy Exp $
+ * $Id: proto_hier_stats.c,v 1.19 2003/12/03 09:28:19 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->ptr_u.hfinfo);
+ stat_node = find_stat_node(parent_stat_node, finfo->hfinfo);
/* Assert that the finfo is related to a protocol, not a field. */
- g_assert(finfo->ptr_u.hfinfo->parent == -1);
+ g_assert(finfo->hfinfo->parent == -1);
stats = STAT_NODE_STATS(stat_node);
stats->num_pkts_total++;