engine: network: I'm fucking blind

This commit is contained in:
Alibek Omarov 2022-08-23 20:04:59 +03:00 committed by GitHub
parent 3e1db432df
commit ac05acf6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -616,7 +616,7 @@ qboolean NET_IsReservedAdr( netadr_t a )
if( a.type == NA_IP )
{
if( a.ip[0] == 10 )
if( a.ip[0] == 10 || a.ip[0] == 127 )
return true;
if( a.ip[0] == 172 && a.ip[1] >= 16 )