Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: calculation of IPv6 common prefix length is wrong #13360

Closed
mikioh opened this issue Nov 22, 2015 · 1 comment
Closed

net: calculation of IPv6 common prefix length is wrong #13360

mikioh opened this issue Nov 22, 2015 · 1 comment

Comments

@mikioh
Copy link
Contributor

mikioh commented Nov 22, 2015

Just a reminder.

The commit adb1e03 leaves the issue on calculation of Pv6 common prefix length. It assumes that there's no prefix longer than 64-bit. Of course the assumption is wrong. We perhaps see that some network operators want to use /96 for IPv4-embedded IPv6 addresses.

@mikioh mikioh added this to the Unplanned milestone Nov 22, 2015
@bradfitz
Copy link
Contributor

The common prefix length function isn't exposed anywhere.

It's specifically there for RFC 6724 where I believe it functions as needed. Feel free to reopen if you have a concrete example of something that this breaks, or somehow that this violates the RFCs.

@golang golang locked and limited conversation to collaborators Nov 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants