Ethereal-users: Re: [ethereal-users] AFS anomolies in 0.8.8

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 20 Jun 2000 00:41:59 -0700
On Thu, Jun 08, 2000 at 10:40:44PM -0700, Guy Harris wrote:
> On Wed, Jun 07, 2000 at 02:14:47PM -0400, Anthony Golia wrote:
> > tracing a:
> > vos examine of a dt volume, Ethereal will show that all replicas are on
> > /vicep, not /vicepa, /vicepb etc
> 
> Can you send us a capture file showing this?

A capture here showed it.

Try applying the attached patch to "packet-afs.c" (if you don't have
source, you'll need to get it), and rebuild Ethereal; does it fix the
problem?
Index: packet-afs.c
===================================================================
RCS file: /usr/local/cvsroot/ethereal/packet-afs.c,v
retrieving revision 1.11
diff -c -r1.11 packet-afs.c
*** packet-afs.c	2000/05/31 05:06:48	1.11
--- packet-afs.c	2000/06/20 07:42:22
***************
*** 1885,1891 ****
  						strcpy(part, "/vicepa");
  						if ( i<nservers && j<=26 )
  						{
! 							part[6] = (char) j;
  							proto_tree_add_string(tree, hf_afs_vldb_partition, NullTVB,
  								curoffset, 4, part);
  						}
--- 1885,1891 ----
  						strcpy(part, "/vicepa");
  						if ( i<nservers && j<=26 )
  						{
! 							part[6] = 'a' + (char) j;
  							proto_tree_add_string(tree, hf_afs_vldb_partition, NullTVB,
  								curoffset, 4, part);
  						}
***************
*** 1932,1938 ****
  						strcpy(part, "/vicepa");
  						if ( i<nservers && j<=26 )
  						{
! 							part[6] = (char) j;
  							proto_tree_add_string(tree, hf_afs_vldb_partition, NullTVB,
  								curoffset, 4, part);
  						}
--- 1932,1938 ----
  						strcpy(part, "/vicepa");
  						if ( i<nservers && j<=26 )
  						{
! 							part[6] = 'a' + (char) j;
  							proto_tree_add_string(tree, hf_afs_vldb_partition, NullTVB,
  								curoffset, 4, part);
  						}
***************
*** 1971,1977 ****
  						strcpy(part, "/vicepa");
  						if ( i<nservers && j<=26 )
  						{
! 							part[6] = (char) j;
  							proto_tree_add_string(tree, hf_afs_vldb_partition, NullTVB,
  								curoffset, 4, part);
  						}
--- 1971,1977 ----
  						strcpy(part, "/vicepa");
  						if ( i<nservers && j<=26 )
  						{
! 							part[6] = 'a' + (char) j;
  							proto_tree_add_string(tree, hf_afs_vldb_partition, NullTVB,
  								curoffset, 4, part);
  						}