mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 05:49:59 +00:00
Fix CGN subnet mask
This commit is contained in:
1 parent
0975a8684f
commit
5f2280183c
1 file changed
+1
-1
@@ -624,7 +624,7 @@ static bool isPrivateNetworkAddressV4(struct sockaddr_in* address, bool matchCGN
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// 100.64.0.0/10
|
// 100.64.0.0/10
|
||||||
else if (matchCGN && (addr & 0xFFFC0000) == 0x64400000) {
|
else if (matchCGN && (addr & 0xFFC00000) == 0x64400000) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in new issue
Block a user