Ethereal-dev: Re: [ethereal-dev] How do I quickly add search fields for SMB

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 1 Aug 2000 21:28:05 -0700
On Mon, Jul 31, 2000 at 01:57:39AM +0900, Richard Sharpe wrote:
> I want to add a search field for the SMB commands that are booleans:
> 
>    smb.cmd.negprot  and etc.

Would this be better done by:

	adding to the filtering code the ability to compare "enumerated"
	fields - i.e., those with a "VALS(value_string array)" in their
	definitions - with names from the "value_string" array;

	making "smb.cmd" such a field?