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:
parent
ea88bb88b2
commit
77fb2d0eb2
@ -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__ );
|
||||
|
Loading…
Reference in New Issue
Block a user