Ethereal-dev: [Ethereal-dev] dfilter_cpompile question

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sun, 12 Oct 2003 00:05:59 +0200
I was just looking at the usage of dfilter_compile in Ethereal and saw
that it is used in several places. I've been adding warnings about mixing
dfilter and cfilter syntax. Do you think it would be more useful to move
the check for the use of cfilters instead of dfilters inside dfilter_compile?
In tethereal I currently do this after the dfilter_compile call in case of
an error return code.
pro: only one check instead of 10
con: yet another place where pcap code gets called

  Ciao
     Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.