Ethereal-dev: Re: [Ethereal-dev] Bug in Ethereal 0.9.16 Protocol Properties

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 4 Nov 2003 12:24:35 -0800

On Nov 4, 2003, at 11:51 AM, Guy Harris wrote:


On Nov 4, 2003, at 10:42 AM, Joe Patterson wrote:

If you have a capture open, select a protocol from the protocol tree (middle window), right-click and select "Protocol Properties", you get a window with
the properties of the *next* protocol

Sometimes you do, sometimes you don't - even in the *same packet* (I tried it on one packet and got that behavior with TCP, but not with Ethernet, IP, or the protocols running atop TCP).

I'll look at it.

The problem is that we no longer create protocol properties pages for protocols whose only preferences are "obsolete" preferences (because they used to be settable preferences, but aren't any more - we make them "obsolete" preferences so you don't get warnings if they're left over in your preferences file from earlier releases), and the code was assuming we did; protocols after one with no page were not handled correctly.

I've checked in a change to redo the way we find the page for a protocol; it appears to fix the problem.