Browse Source

engine: network: I'm fucking blind

pull/2/head
Alibek Omarov 2 years ago committed by GitHub
parent
commit
ac05acf6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      engine/common/net_ws.c

2
engine/common/net_ws.c

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

Loading…
Cancel
Save