1 | initial version |
First, it doesn't look like you're calling subtree:add_le()
correctly, because the first argument should be a protofield, but you're passing it a tvbrange.
Well, assuming you have a protofield defined as follows:
somefield = ProtoField.uint24("foo.somefield", "Some Field", base.DEC, nil, 0x0fffff)
Then you should just need to add it to the tree using:
subtree:add_le(somefield, buffer(79, 3))