about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-06-26 21:35:07 +0300
committerNakidai <nakidai@disroot.org>2025-06-26 21:35:07 +0300
commit426d73bf550d24a24b0820968e4af01c466280a7 (patch)
tree00707bc4c557085d5e28f708256146eb95d5429e /src/engine
parent5edca2a937e40ac77e565adc4ccbf224c4967b00 (diff)
downloadzcatch-master.tar.gz
zcatch-master.zip
Add fixes HEAD zCatch master
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 46907946..c43fcc2a 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -936,7 +936,7 @@ void CClient::ProcessConnlessPacket(CNetChunk *pPacket)
 		{
 			NETADDR Addr;
 
-			static char IPV4Mapping[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF };
+			static char IPV4Mapping[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -128, -128 };
 
 			// copy address
 			if(!mem_comp(IPV4Mapping, pAddrs[i].m_aIp, sizeof(IPV4Mapping)))