net: fix comments on ParseCIDR #18175
Closed
Labels
Milestone
Comments
Not a regression from previous releases. Feel free to send a CL if you'd like any time. It can go in 1.8 if it's just docs. |
CL https://golang.org/cl/34375 mentions this issue. |
CL https://golang.org/cl/34431 mentions this issue. |
gopherbot
pushed a commit
that referenced
this issue
Dec 15, 2016
This change replaces the remaining use of "mask" with "prefix length" and uses IPv4 reserved address blocks for documentation. UPdates #15228. Updates #18175. Change-Id: I56c4f1205821c64f3195b023ad515b9d54e33f64 Reviewed-on: https://go-review.googlesource.com/34431 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The comments on ParseCIDR use the wrong word
mask
instead ofprefix length
like the following:ParseCIDR parses s as a CIDR notation IP address and mask
. Documentation is hard.The text was updated successfully, but these errors were encountered: