···824824 local prev_current = current
825825 local bytes_read, val = dissect_db_field(buf, current, msg_tree, m_type, i)
826826827827+ -- If it's a Success/Ack, show what it's acking in the summary
828828+ if m_type == 0x4000 then
829829+ if i == 1 and val then
830830+ local ack_type_str = DB_MSG_TYPES[val] or string.format("0x%04x", val)
831831+ msg_tree:append_text(" - " .. ack_type_str)
832832+ db_types[#db_types] = "Ack " .. ack_type_str
833833+ elseif i == 2 and val then
834834+ msg_tree:append_text(": " .. val .. " Items")
835835+ db_types[#db_types] = db_types[#db_types] .. ": " .. val .. " Items"
836836+ end
837837+ end
838838+827839 -- If it's a GetAnalysisTag request, record the tag for the response
828840 if m_type == 0x2c04 and i == 3 and val then
829841 local tag_name = ANALYSIS_TAGS[val] or get_reverse_ascii(buf(prev_current+1, 4))