-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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/netip: add IPv6Loopback #51777
Comments
Seems fine to me. |
This proposal has been added to the active column of the proposals project |
Based on the discussion above, this proposal seems like a likely accept. |
No change in consensus, so accepted. 🎉 |
Change https://go.dev/cl/412475 mentions this issue: |
Fixes golang#51766 Fixes golang#51777 Change-Id: I0510175c20c06442d78b2581cfe218e66be1c35b Reviewed-on: https://go-review.googlesource.com/c/go/+/412475 Auto-Submit: Brad Fitzpatrick <[email protected]> Reviewed-by: David Chase <[email protected]> Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Brad Fitzpatrick <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Matt Layher <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Auto-Submit: Damien Neil <[email protected]>
We already have
net.IPv6loopback
today, but lack an equivalent innet/netip
. I'd like to propose addingnetip.IPv6Loopback
specifically; IPv6 defines exactly one loopback address:::1
.IPv4 assigns the entire
127.0.0.0/8
and thus should be out of scope for this proposal.Concretely:
See also #51766 for a similar addition and rationale. Thanks!
/cc @bradfitz @danderson @josharian
The text was updated successfully, but these errors were encountered: