engine: net_ws: fix misleading error when comparing IPv6 addresses
This commit is contained in:
parent
ea88bb88b2
commit
77fb2d0eb2
1 changed files with 2 additions and 1 deletions
|
@ -864,6 +864,7 @@ qboolean NET_CompareAdr( const netadr_t a, const netadr_t b )
|
||||||
{
|
{
|
||||||
if( a.port == b.port && !NET_NetadrIP6Compare( &a, &b ))
|
if( a.port == b.port && !NET_NetadrIP6Compare( &a, &b ))
|
||||||
return true;
|
return true;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Con_DPrintf( S_ERROR "%s: bad address type\n", __func__ );
|
Con_DPrintf( S_ERROR "%s: bad address type\n", __func__ );
|
||||||
|
|
Loading…
Add table
Reference in a new issue