mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-10-25 13:40:14 +00:00
Fix RFC 6598 netmask for CGN
This commit is contained in:
1 parent
1137825a4f
commit
1b3fef5408
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -555,7 +555,7 @@ bool IsPossibleCGN(PSOCKADDR_IN wanAddr)
|
||||
return true;
|
||||
}
|
||||
// 100.64.0.0/10 - RFC6598 official CGN address
|
||||
else if ((addr & 0xFFC0) == 0x64400000) {
|
||||
else if ((addr & 0xFFC00000) == 0x64400000) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user