diff options
author | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-09 17:57:31 +0000 |
---|---|---|
committer | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-09 17:57:31 +0000 |
commit | 4d346adca37b7c922d2261514e1291664a07fbae (patch) | |
tree | 250d8074cd60db9a6f6cc1d12ed9ff6d797c859f /proto_hier_stats.c | |
parent | 203ebcf63bfcc36dc9d8cc13b12cb187671b7383 (diff) |
Add PTREE_FINFO and use PITEM_FINFO when possible.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29355 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index ce3ce1e403..510821da32 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -110,7 +110,7 @@ process_node(proto_node *ptree_node, GNode *parent_stat_node, ph_stats_t *ps, gu * not a normal protocol in the top-level tree. It was instead * added as a normal tree such as IPv6's Hop-by-hop Option Header and * should be skipped when creating the protocol hierarchy display. */ - if(strlen(proto_sibling_node->finfo->hfinfo->name) == 0 && ptree_node->next) + if(strlen(PNODE_FINFO(proto_sibling_node)->hfinfo->name) == 0 && ptree_node->next) proto_sibling_node = proto_sibling_node->next; process_node(proto_sibling_node, stat_node, ps, pkt_len); |