Ethereal-dev: [ethereal-dev] Re: RSVP is broken in Ethereal 0.7.x

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: Fri, 27 Aug 1999 11:07:20 -0500
On Fri, Aug 27, 1999 at 08:54:40AM -0500, Ashok Narayanan wrote:
> 
> 
>  > tr.sr == true
> 
> And can you also do just "tr.sr && tr.myfield==5"?
> 

No, as it stands now, a field name by itself represents the existence
of that field. The filter "tr.sr" merely checks for the existence of
tr.sr, which is there for all TR frames.

Perhaps I should change the semantics of the boolean field. I could
change it from FT_BOOLEAN to FT_BOOLEAN_TRUE. I'd only add the "tr.sr"
field if it were true that the TR frame were source-routed.  So, if the
TR frame _is_ source routed, tr.sr exists.  If the TR frame is _not_
source routed, I don't add tr.sr to the proto_tree, and "tr.sr" does
not exist. Then the "tr.sr" filter would work correctly. I would then
remove 'true' and 'false' from the display filter lexicon.

Would this work for your RSVP fields?

--gilbert