diff --git a/mp/src/tier1/NetAdr.cpp b/mp/src/tier1/NetAdr.cpp index 30f7fa1f..90692fa0 100644 --- a/mp/src/tier1/NetAdr.cpp +++ b/mp/src/tier1/NetAdr.cpp @@ -97,7 +97,7 @@ bool netadr_t::IsReservedAdr () const if ( (ip[0] == 10) || // 10.x.x.x is reserved (ip[0] == 127) || // 127.x.x.x (ip[0] == 172 && ip[1] >= 16 && ip[1] <= 31) || // 172.16.x.x - 172.31.x.x - (ip[0] == 192 && ip[1] >= 168) ) // 192.168.x.x + (ip[0] == 192 && ip[1] == 168) ) // 192.168.x.x return true; } return false; diff --git a/sp/src/tier1/NetAdr.cpp b/sp/src/tier1/NetAdr.cpp index 30f7fa1f..90692fa0 100644 --- a/sp/src/tier1/NetAdr.cpp +++ b/sp/src/tier1/NetAdr.cpp @@ -97,7 +97,7 @@ bool netadr_t::IsReservedAdr () const if ( (ip[0] == 10) || // 10.x.x.x is reserved (ip[0] == 127) || // 127.x.x.x (ip[0] == 172 && ip[1] >= 16 && ip[1] <= 31) || // 172.16.x.x - 172.31.x.x - (ip[0] == 192 && ip[1] >= 168) ) // 192.168.x.x + (ip[0] == 192 && ip[1] == 168) ) // 192.168.x.x return true; } return false;