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
a560e05df8
commit
eb8145a168
@ -773,6 +773,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…
x
Reference in New Issue
Block a user