Skip to content

Commit 272143a

Browse files
komer3Copilot
andauthored
Update cloud/nodeipam/ipam/cloud_allocator.go
Co-authored-by: Copilot <[email protected]>
1 parent 9351cc7 commit 272143a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloud/nodeipam/ipam/cloud_allocator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ func getIPv6RangeFromLinodeInterface(iface linodego.LinodeInterface) string {
351351
// within the provided base IPv6 range using the mnemonic subprefix :0:c::/112.
352352
//
353353
// This prefix is degiefined here:
354-
//
354+
// The mnemonic subprefix :0:c::/112 is constructed by setting hextets 5..7 to 0, c, 0
355+
// (i.e., bytes 8-13 set to 00 00 00 0c 00 00) within the /64 base, as implemented below.
355356
// Rules:
356357
// - For a /64 base, return {base64}:0:c::/112
357358
// - Only applies when desiredMask is /112 and the result is fully contained

0 commit comments

Comments
 (0)