Skip to content

Commit 77b265e

Browse files
authored
Add RFC6598 reserved prefix (#103)
1 parent 9b1c52e commit 77b265e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/private_net.go

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ func init() {
2929
"192.168.0.0/16",
3030
// RFC 4193: IPv6 ULAs
3131
"fc00::/7",
32+
// RFC 6598: reserved prefix for CGNAT
33+
"100.64.0.0/10",
3234
} {
3335
_, subnet, _ := net.ParseCIDR(cidr)
3436
privateNetworks = append(privateNetworks, subnet)

0 commit comments

Comments
 (0)