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:
RaidMax 2020-09-04 12:58:54 -05:00
parent a4a65a486a
commit 7e3c74e63c

View File

@ -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: