This is our old Q&A Site. Please post any new questions and answers at

Hi, i have a custom dissector plugin that i am trying to backport from wireshark 1.11 that i developed it for to wireshark 1.2.18. (It works on 1.11)

Now i get errors while compiling with the old version of wireshark: error C2065 : ENC_BIG_ENDIAN : undeclared identifier

I am using the variable in proto_tree_add_item(tree,id,tvb,offset,length,ENC_BIG_ENDIAN); The same error occurs when i use ENC_NA. I could get rid of the error by replacing ENC_BIG_ENDIAN with FALSE but i am not sure if that is the correct way to do it ?


asked 08 Jul '13, 04:22

Kitg's gravatar image

accept rate: 0%

Yes, in older versions the last argument to proto_tree_add_item() was a gboolean named little_endian. So FALSE would be the appropriate value to replace ENC_BIG_ENDIAN.

permanent link

answered 08 Jul '13, 07:21

JeffMorriss's gravatar image

JeffMorriss ♦
accept rate: 27%

edited 08 Jul '13, 07:22

okej, thanks alot.I was just curious since it fixed the compiler errors but wanted to know that the functionality wasnt affected.

(08 Jul '13, 07:52) Kitg
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 08 Jul '13, 04:22

question was seen: 1,233 times

last updated: 08 Jul '13, 07:52

p​o​w​e​r​e​d by O​S​Q​A