mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Wireshark dissector: Made sure var 'pos' was only assigned locally to function (#14027)
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user