Convert 'encoding' parameter of certain proto_tree_add_item() calls in plugins/*:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 10 Oct 2011 00:53:55 +0000 (00:53 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 10 Oct 2011 00:53:55 +0000 (00:53 +0000)
commit91d59218a9a9ab0d982ce7413c9be1127c1c12ec
tree0791e55414488e7f3723174aad9925a549659cd9
parenta22559941fee1c629c118c45c98358c121937ffd
Convert 'encoding' parameter of certain proto_tree_add_item() calls in plugins/*:
  Specifically:  Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
  the encoding parameter for proto_tree_add_item() calls which directly reference
  an item in hf[] which has a type of:
     FT_BOOLEAN
     FT_IPv4
     FT_EUI64
     FT_GUID
     FT_UINT_STRING

Also: For type FT_ITv6 use ENC_NA. (This was missed in an earlier SVN)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39329 f5534014-38df-0310-8fa8-9805f1628bb7
20 files changed:
plugins/docsis/packet-bpkmattr.c
plugins/docsis/packet-dcd.c
plugins/docsis/packet-docsis.c
plugins/docsis/packet-tlv.c
plugins/ethercat/packet-ams.c
plugins/ethercat/packet-ecatmb.c
plugins/ethercat/packet-esl.c
plugins/ethercat/packet-ethercat-datagram.c
plugins/irda/packet-irda.c
plugins/opcua/opcua_simpletypes.c
plugins/unistim/packet-unistim.c
plugins/wimax/msg_arq.c
plugins/wimax/msg_reg_req.c
plugins/wimax/msg_rep.c
plugins/wimax/msg_rng_req.c
plugins/wimax/msg_rng_rsp.c
plugins/wimax/msg_sbc.c
plugins/wimax/wimax_compact_dlmap_ie_decoder.c
plugins/wimax/wimax_compact_ulmap_ie_decoder.c
plugins/wimax/wimax_utils.c