Wireshark mailing list archives

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


From: Guy Harris <guy () alum mit edu>
Date: Tue, 4 Oct 2011 13:48:20 -0700


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?
___________________________________________________________________________
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: