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:
parent
a4a65a486a
commit
7e3c74e63c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user