Wireshark mailing list archives

Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script.


From: Bill Meier <wmeier () newsguy com>
Date: Tue, 04 Oct 2011 17:35:20 -0400

On 10/4/2011 4:48 PM, Guy Harris wrote:

On Oct 4, 2011, at 10:53 AM, Bill Meier wrote:

I propose to use a perl script to automate as much as reasonable the replacement of TRUE/FALSE in the encoding 
parameter of the proto_tree_add_item() calls in dissectors as follows:

First step:
For hf[] entries with type
   FT_NONE
   FT_BYTES
   FT_IPV6
   FT_IPXNET
   FT_UID

   convert the field to ENC_NA.

Presumably by FT_UID you mean FT_OID?

Yep...

Thanks



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: