Revision history [back]
LUA: tlv_tree:add "hex data sequence"
Hello,
One TLV has length 18... If I try to add to the display tree using:
f.tlvvalue_hex = ProtoField.uint32 ("myproto.tlvvalue_hex", "TLV Value", base.HEX)
tlv_tree:add (f.tlvvalue_hex, buffer(offset, tlvlen))
I get following [(Warning/Malformed) Trying to fetch an unsigned integer with length 18]
How can I just have an hex data sequence displayed instead ? Maybe leveraging on ByteArray ?
Thx!