1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:01:19 -07:00

net: change "mask" to "prefix length" in ParseCIDR comment

Fixes #18175

Change-Id: I0074109fa885976b22c2be9fa39641d4d0657dee
Reviewed-on: https://go-review.googlesource.com/34375
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Matt Layher 2016-12-13 23:01:15 -05:00 committed by Brad Fitzpatrick
parent 79a748fae8
commit 232991e8a7

View File

@ -654,7 +654,7 @@ func ParseIP(s string) IP {
return nil
}
// ParseCIDR parses s as a CIDR notation IP address and mask,
// ParseCIDR parses s as a CIDR notation IP address and prefix length,
// like "192.0.2.0/24" or "2001:db8::/32", as defined in
// RFC 4632 and RFC 4291.
//