mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-12 08:08:06 -05:00
add 0.0.0.0 as internal "ip" even though it's not actually a valid IP but for cod4x
This commit is contained in:
@ -793,6 +793,8 @@ namespace SharedLibraryCore
|
|||||||
byte[] bytes = toTest.GetAddressBytes();
|
byte[] bytes = toTest.GetAddressBytes();
|
||||||
switch (bytes[0])
|
switch (bytes[0])
|
||||||
{
|
{
|
||||||
|
case 0:
|
||||||
|
return bytes[1] == 0 && bytes[2] == 0 && bytes[3] == 0;
|
||||||
case 10:
|
case 10:
|
||||||
return true;
|
return true;
|
||||||
case 172:
|
case 172:
|
||||||
|
Reference in New Issue
Block a user