On Mon, Feb 12, 2007 at 06:15:43AM -0900, Hal Lander wrote:
> It does look like the value you pass to
> proto_tree_add_boolean(tree, id, tvb, start, length, value);
> is not a 1 or a 0 it is the raw data byte containing the boolean at the 
> position defined by the mask.
> 
> If I am correct this makes the documentation a bit missleading.

As Guy said, you have to do the masking yourself.  What part of the 
documentation did you find misleading?  I ask so that we can take a look 
at improving it.


Steve

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to