Ethereal-dev: Re: [Ethereal-dev] Update to the NCP dissector

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

From: "Greg Morris" <gmorris@xxxxxxxxxx>
Date: Fri, 31 Mar 2006 19:30:46 +0200
The bits are displayed for the decode but this struct is for passing the string representations of the bits to the expert channel.
 
Greg

>>> Joerg Mayer <jmayer@xxxxxxxxx> 3/31/2006 5:02 AM >>>
On Fri, Mar 31, 2006 at 08:24:53AM +0200, Greg Morris wrote:
> Fixes bug 830
> Adds a few more expert info details.

> +static const value_string ncp_rights_vals[] = {
> +  { 0x00, "No Rights"},
> +  { 0x01, "Read"},
...
> +  { 0x55, "Read, Deny Read, Compatibility, File Write Through"},

Is there a reason why you don't decode this as individual bits?

ciao
    Joerg
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev