aboutsummaryrefslogtreecommitdiff
path: root/wireshark/pictochat.lua
blob: 5eb8089ce0211ad354d527971422c44d0263a241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local pc = Proto("pictochat", "Nintendo DS PictoChat")

function pc.dissector(buffer, pinfo, tree)

	local pc_tree = tree:add(pc, buffer(), "PictoChat Message")

	pinfo.cols.protocol = pc.name

end

-- no worky
local nifi = DissectorTable.get("nifi.length")
nifi:add('>0', pc)