Open dsamarin opened 6 years ago
This incomplete pull request is created to fix #82 and fix #125
CIDR2Range
AddRange
DeleteByName
sort
RankBySize
big.Int
This incomplete pull request is created to fix #82 and fix #125
Changes
CIDR2Range
is updated to support IPv6AddRange
accepts IPv6 string addresses as well as IPv4DeleteByName
andsort
that performs no extra allocation.RankBySize
usesbig.Int
to calculate the size of the ranges, as the IPv6 address space is much larger.In progress