Ethereal-users: Re: [Ethereal-users] display filter for ARP

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Sun, 14 Jan 2001 07:49:21 -0600
On Sat, 13 Jan 2001 19:53:22 -0800
"jspaar" <jspaar@xxxxxxxxxxxxx> wrote:


> 
> But Gilbert was close.  It does work if I say:
> arp.src.proto[0] == ww:xx:yy:zz
> 
> 
> Note that the "[0]" is required AND that ww, xx, yy, and zz must be in
> hex.
> I guess it's normal behaviour that the byte array type always requires
> an [offset]?
> 

That was fixed in 0.8.15.

> Maybe a wishlist item would be the ability to make a cast like:
>     (IPv4)arp.src.proto
> Or that comparisons of a byte array to a fixed-length type would cause
> a promotion.

Thanks for the ideas. 

--gilbert
com/mailman/listinfo/ethereal-u