diff --git a/src/PlatformSockets.c b/src/PlatformSockets.c index 9d34084..56f9b9c 100644 --- a/src/PlatformSockets.c +++ b/src/PlatformSockets.c @@ -624,7 +624,7 @@ static bool isPrivateNetworkAddressV4(struct sockaddr_in* address, bool matchCGN return true; } // 100.64.0.0/10 - else if (matchCGN && (addr & 0xFFFC0000) == 0x64400000) { + else if (matchCGN && (addr & 0xFFC00000) == 0x64400000) { return true; } else {