Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils/wireshark/enet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function parse_unreliable(tvbuf, tree, pktinfo)

unreliable:add(pf_unreliable_seqnum, tvbuf:range(0, 2))
unreliable:add(pf_payload_length, tvbuf:range(2, 2))
decode_payload(tvbuf:range(4), reliable, pktinfo)
decode_payload(tvbuf:range(4), unreliable, pktinfo)
end

function parse_fragment(tvbuf, tree, pktinfo)
Expand Down Expand Up @@ -645,4 +645,4 @@ function heur_dissect_enet(tvbuf, pktinfo, root)
end

-- register the heuristic for udp only:
enet_proto:register_heuristic("udp", heur_dissect_enet)
enet_proto:register_heuristic("udp", heur_dissect_enet)