lua dissector - data from subtree doesn't displayed
Hello,
I've generated some lua dissector as shown below. However, on Wireshark, I see that Status value is 0xF1000000 but Element1 value is 0 instead of 1.
Where I'm wrong and how to fix it?
f.structureName_elementName1 = ProtoField.uint32("c.structureName.elementName", "Element1", base.dec,FAIL_OK, 0x8000000)
f.Status = ProtoField.new("Status","c.Status",ftypes.BYTES)
...
local Status_subtree=subtree:add_le(f.Status, buffer(100,4))
Status_subtree:add_le(f.structureName_elementName, buffer(100,4))
...