aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Liu <richy.liu.2002@gmail.com>2021-12-05 07:34:40 -0600
committerGitHub <noreply@github.com>2021-12-05 14:34:40 +0100
commit7a043b3ebbbf250890f39a9afecebba1cc9826a6 (patch)
tree620a00a855110530ab4cc616b08d757a89642b9a
parent80c3c7e642749f9316a3eee2c235df3ce8be1666 (diff)
downloadminetest-7a043b3ebbbf250890f39a9afecebba1cc9826a6.tar.gz
minetest-7a043b3ebbbf250890f39a9afecebba1cc9826a6.tar.bz2
minetest-7a043b3ebbbf250890f39a9afecebba1cc9826a6.zip
Fix wireshark packet dissector wrong coordinates (#11826)
-rw-r--r--util/wireshark/minetest.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/wireshark/minetest.lua b/util/wireshark/minetest.lua
index d954c7597..40e1956f3 100644
--- a/util/wireshark/minetest.lua
+++ b/util/wireshark/minetest.lua
@@ -422,8 +422,8 @@ do
t:add(f_pointed_under_y, buffer(13,2))
t:add(f_pointed_under_z, buffer(15,2))
t:add(f_pointed_above_x, buffer(17,2))
- t:add(f_pointed_above_x, buffer(19,2))
- t:add(f_pointed_above_x, buffer(21,2))
+ t:add(f_pointed_above_y, buffer(19,2))
+ t:add(f_pointed_above_z, buffer(21,2))
elseif ptype == 2 then -- Object
t:add(f_pointed_object_id, buffer(11,2))
end