diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-24 22:11:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-24 22:11:55 +0000 |
commit | 122dd3959ca27de3e7a35436e70f19516a0b184a (patch) | |
tree | 90a19c950b02cb33c0756f1869298051d9bdc78c /tap-protohierstat.c | |
parent | 2e94fc8139c9260a983c737bdddea36eb5d84343 (diff) | |
download | wireshark-122dd3959ca27de3e7a35436e70f19516a0b184a.tar.gz wireshark-122dd3959ca27de3e7a35436e70f19516a0b184a.tar.bz2 wireshark-122dd3959ca27de3e7a35436e70f19516a0b184a.zip |
Make the recent epan/proto.{c,h} change compile.
svn path=/trunk/; revision=9075
Diffstat (limited to 'tap-protohierstat.c')
-rw-r--r-- | tap-protohierstat.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 <gerald@ethereal.com> @@ -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; } |