From 7a043b3ebbbf250890f39a9afecebba1cc9826a6 Mon Sep 17 00:00:00 2001
From: Richard Liu <richy.liu.2002@gmail.com>
Date: Sun, 5 Dec 2021 07:34:40 -0600
Subject: Fix wireshark packet dissector wrong coordinates (#11826)

---
 util/wireshark/minetest.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'util/wireshark')

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
-- 
cgit v1.2.3