2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 19:30:08 +01:00

engine: net_ws: fix misleading error when comparing IPv6 addresses

This commit is contained in:
Alibek Omarov 2024-11-15 16:41:42 +03:00
parent ea88bb88b2
commit 77fb2d0eb2

View File

@ -864,6 +864,7 @@ qboolean NET_CompareAdr( const netadr_t a, const netadr_t b )
{
if( a.port == b.port && !NET_NetadrIP6Compare( &a, &b ))
return true;
return false;
}
Con_DPrintf( S_ERROR "%s: bad address type\n", __func__ );