Lua API: How to update ethernet type display name?
I'm trying to write a simple Lua dissector for VMware's Beacon protocol (ethertype 0x8922
). For now I have:
local proto = Proto('vbeacon', 'vbeacon')
function proto.dissector(tvbuf, pinfo, tree)
pinfo.cols.protocol = proto.name
tree:add(proto, tvbuf(), 'Beacon')
end
DissectorTable.get('ethertype'):add(0x8922, proto)
In Wireshark the Beacon protocol is indeed recognized but Ethernet type is still Unknown
. How can I update this Ethernet type?
Also note that these are not just used for Beacons, as per the description in the IEEE ether type filing.