Ethereal-dev: Re: [ethereal-dev] Filter bug for IP-Addresses starting whith 2 digits

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: Mon, 16 Aug 1999 10:08:49 -0500
On Mon, Aug 16, 1999 at 04:20:07AM -0500, Ralf Klever wrote:
> 
> 
> Hi
> 
> I have just installed ethereal-0.7.2.
> 
> When I use IP-Addresses, starting with 2 digits, in filters (eg. "ip.addr 
> ==
> 10.2.3.4")
> the filter-parser produces an error.
> 
> So I have change the "hexsep" in "dfilter-scanner.l" line 94 from "[-:.]" 
> to
> "[-:]", and now it works fine, but I don't  know in whith cases you need
> hexstrings whith a dot.

Yes, that fix will work. The hexsep with a dot was just for convenience.
In the CVS repository for ethereal, that bug has been fixed; you can use
a dot for a separator both for IP addresses and 4-byte byte ranges.
But your fix should work for you just fine until ethereal-0.7.3 is out.

--gilbert