From 122dd3959ca27de3e7a35436e70f19516a0b184a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 24 Nov 2003 22:11:55 +0000 Subject: Make the recent epan/proto.{c,h} change compile. svn path=/trunk/; revision=9075 --- tap-protohierstat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tap-protohierstat.c') diff --git a/tap-protohierstat.c b/tap-protohierstat.c index 1e04f028d8..ba2c0bf2e9 100644 --- a/tap-protohierstat.c +++ b/tap-protohierstat.c @@ -1,7 +1,7 @@ /* tap-protohierstat.c * protohierstat 2002 Ronnie Sahlberg * - * $Id: tap-protohierstat.c,v 1.3 2003/04/23 08:20:02 guy Exp $ + * $Id: tap-protohierstat.c,v 1.4 2003/11/24 22:11:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -93,8 +93,8 @@ protohierstat_packet(void *prs, packet_info *pinfo, epan_dissect_t *edt, void *d /* first time we saw a protocol at this leaf */ if(rs->protocol==-1){ - rs->protocol=fi->hfinfo->id; - rs->proto_name=fi->hfinfo->abbrev; + rs->protocol=fi->ptr_u.hfinfo->id; + rs->proto_name=fi->ptr_u.hfinfo->abbrev; rs->frames=1; rs->bytes=pinfo->fd->pkt_len; rs->child=new_phs_t(rs); @@ -104,7 +104,7 @@ protohierstat_packet(void *prs, packet_info *pinfo, epan_dissect_t *edt, void *d /* find this protocol in the list of siblings */ for(tmprs=rs;tmprs;tmprs=tmprs->sibling){ - if(tmprs->protocol==fi->hfinfo->id){ + if(tmprs->protocol==fi->ptr_u.hfinfo->id){ break; } } @@ -115,8 +115,8 @@ protohierstat_packet(void *prs, packet_info *pinfo, epan_dissect_t *edt, void *d ; tmprs->sibling=new_phs_t(rs->parent); rs=tmprs->sibling; - rs->protocol=fi->hfinfo->id; - rs->proto_name=fi->hfinfo->abbrev; + rs->protocol=fi->ptr_u.hfinfo->id; + rs->proto_name=fi->ptr_u.hfinfo->abbrev; } else { rs=tmprs; } -- cgit v1.2.3