Commit 232991e8 authored by Matt Layher's avatar Matt Layher Committed by Brad Fitzpatrick

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

Fixes #18175

Change-Id: I0074109fa885976b22c2be9fa39641d4d0657dee
Reviewed-on: https://go-review.googlesource.com/34375Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 79a748fa
......@@ -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.
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment