We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad01f3 commit 590d969Copy full SHA for 590d969
cloud/nodeipam/ipam/cloud_allocator.go
@@ -75,7 +75,7 @@ type cloudAllocator struct {
75
const (
76
providerIDPrefix = "linode://"
77
ipv6BitLen = 128
78
- ipv6PrefixLen64 = 64
+ ipv6PodCIDRMaskSize = 112
79
)
80
81
var _ CIDRAllocator = &cloudAllocator{}
@@ -363,7 +363,7 @@ func getIPv6RangeFromLinodeInterface(iface linodego.LinodeInterface) string {
363
// in the base range. Otherwise, returns (nil, false) to signal fallback.
364
func getIPv6PodCIDR(ip net.IP, desiredMask int) (*net.IPNet, bool) {
365
// Some validation checks
366
- if ip == nil || desiredMask != 112 {
+ if ip == nil || desiredMask != ipv6PodCIDRMaskSize {
367
return nil, false
368
}
369
0 commit comments