1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -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:
RaidMax
2020-09-04 12:58:54 -05:00
parent 514af749e7
commit 65a80f1c8c

View File

@ -793,6 +793,8 @@ namespace SharedLibraryCore
byte[] bytes = toTest.GetAddressBytes();
switch (bytes[0])
{
case 0:
return bytes[1] == 0 && bytes[2] == 0 && bytes[3] == 0;
case 10:
return true;
case 172: