forked from Mirrorlandia_minetest/minetest
Wireshark dissector: Made sure var 'pos' was only assigned locally to function (#14027)
This commit is contained in:
parent
61db32beee
commit
6783734612
@ -1299,6 +1299,7 @@ do
|
|||||||
t:set_text("Minetest, Peer: " .. buffer(4,2):uint() .. ", Channel: " .. buffer(6,1):uint())
|
t:set_text("Minetest, Peer: " .. buffer(4,2):uint() .. ", Channel: " .. buffer(6,1):uint())
|
||||||
|
|
||||||
local reliability_info
|
local reliability_info
|
||||||
|
local pos
|
||||||
if buffer(7,1):uint() == 3 then
|
if buffer(7,1):uint() == 3 then
|
||||||
-- Reliable message
|
-- Reliable message
|
||||||
reliability_info = "Seq=" .. buffer(8,2):uint()
|
reliability_info = "Seq=" .. buffer(8,2):uint()
|
||||||
|
Loading…
Reference in New Issue
Block a user