Ethereal-dev: Re: [ethereal-dev] SIGSEGV while "Match Selected"

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, 25 Oct 1999 16:20:34 -0500
On Mon, Oct 25, 1999 at 03:06:33PM -0500, Guy Harris wrote:
> 
> (Note that opening a particular type of subtree in the *current* packet
> doesn't cause all other subtrees of that type to open up in the current
> packet.  Should we make it do so?)

I do the same little trick in packet-bootp.c. I use ETT_BOOTP_OPTION
for all possible BOOTP option types (around 77 of them in Ethereal so far).

I think that opening one subtree and then having 5 or 10 other subtrees
in a BOOTP packet (there's a variable amount of Options in a BOOTP packet)
would be surprising to the user.

But then again, so is visiting another BOOTP packet (or revisiting the
original BOOTP packet) and see all subtrees opened.

Or I could make 77 different ETT tags for the BOOTP options. :)

--gilbert