Ethereal-dev: Re: [ethereal-dev] Capture filters

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: Wed, 5 Jan 2000 16:55:50 -0600
On Wed, Jan 05, 2000 at 04:40:30PM -0600, Gerald Combs wrote:
> 
> 
> I've just checked in changes to initialze capture filters with an empty
> string instead of NULL, which should fix the problems we've been seeing
> with RedHat.  I noticed that the summary_tally struct in summary.c has a
> "cfilter" member.  Does this need to be modified as well?

No. The cfilter pointer in summary_tally is just for convienence. It
points to cf.cfilter:


#ifdef HAVE_LIBPCAP
  st->cfilter = cf.cfilter;
#else
  st->cfilter = NULL;
#endif

--gilbert