Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Need for an 'in' dfilter operator?

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sun, 25 Apr 2004 13:08:15 -0700
On Tue, Apr 20, 2004 at 11:38:06AM +0200, Biot Olivier wrote:
> Is there any interest in adding a 'in' display filter operator allowing
> short-hand "field in (x1 x2 ... xN)" for a lengthy "(field eq x1 or field eq
> x2 or ... or field eq xn)"?

Would

	field in (x1-x2)

also be useful for fields with a total order, e.g.

	tcp.port in (1000-1010)

or even something such as

	udp.port in (7000-7009,7021)