wireshark: set description of list node to dissector's returned info string
Also remove the type lookup since that's done in the virtual class dissector.
diff --git a/wireshark_gen/templates/_oftype_readers.lua b/wireshark_gen/templates/_oftype_readers.lua
index c12d85b..fb6eb6f 100644
--- a/wireshark_gen/templates/_oftype_readers.lua
+++ b/wireshark_gen/templates/_oftype_readers.lua
@@ -108,11 +108,11 @@
local list = subtree:add(fields[field_name], reader.peek_all(0))
while not reader.is_empty() do
- local action_type = reader.peek(0, 2):uint()
local action_len = reader.peek(2, 2):uint()
local child_reader = reader.slice(action_len)
local child_subtree = list:add(fields[field_name], child_reader.peek_all(0))
local info = dissect_of_action_v1(child_reader, child_subtree)
+ child_subtree:set_text(info)
end
end