mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-10-25 21:50:07 +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
@@ -640,7 +640,7 @@ bool IsLikelyNAT(unsigned long netByteOrderAddr)
|
||||
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