The prefix length links for IPv6 prefixes were incorrectly pointing to /prefixlength/<len> which would show IPv4 prefixes. Added a new route /prefixlength6/<len> specifically for IPv6 prefixes and updated the template to use the correct URL based on whether displaying IPv4 or IPv6 prefix distributions. Also refactored handlePrefixLength to explicitly handle only IPv4 prefixes and created handlePrefixLength6 for IPv6 prefixes, removing the ambiguous auto-detection based on mask length value. |
||
---|---|---|
.. | ||
as_detail.html | ||
prefix_detail.html | ||
prefix_length.html | ||
status.html | ||
templates.go |