From eb8145a16846c3df0ecdaf9f0ae66ca28b8a63d7 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Fri, 4 Sep 2020 12:58:54 -0500 Subject: [PATCH] add 0.0.0.0 as internal "ip" even though it's not actually a valid IP but for cod4x --- SharedLibraryCore/Utilities.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SharedLibraryCore/Utilities.cs b/SharedLibraryCore/Utilities.cs index d8b0c0059..948d3e5a9 100644 --- a/SharedLibraryCore/Utilities.cs +++ b/SharedLibraryCore/Utilities.cs @@ -773,6 +773,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: