Files
floci/src/test/java
Jackson Price c6927cca96 fix(ec2): write Amazon-provided VPC IPv6 blocks in canonical form (#6692)
CreateVpc and AssociateVpcCidrBlock with AmazonProvidedIpv6CidrBlock built
the /56 by concatenating random hex digits, so a group that drew a leading
zero kept it: about one block in eight came back as, for example,
2600:1f18:21c4:0200::/56 instead of 2600:1f18:21c4:200::/56, and one in
256 wrote out an all-zero fourth group instead of folding it into the
"::". The block now goes through CidrCanonicalizer, which writes RFC 5952
text. VPCs already held in a persistent store keep the text they were
created with.

The endpoint test that derives /64 subnets from the VPC block now works
from the address bytes, because canonical text drops a zero fourth group.

Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>
2026-10-26 23:01:59 -05:00
..