mirror of
https://github.com/golang/go
synced 2024-10-01 03:18:33 -06:00
Update quotation marks in package net
This commit is contained in:
parent
0dd120df7e
commit
d03c81ebfb
@ -65,8 +65,8 @@ func IPv4Mask(a, b, c, d byte) IPMask {
|
||||
return p
|
||||
}
|
||||
|
||||
// CIDRMask returns an IPMask consisting of `ones' 1 bits
|
||||
// followed by 0s up to a total length of `bits' bits.
|
||||
// CIDRMask returns an IPMask consisting of 'ones' 1 bits
|
||||
// followed by 0s up to a total length of 'bits' bits.
|
||||
// For a mask of this form, CIDRMask is the inverse of IPMask.Size.
|
||||
func CIDRMask(ones, bits int) IPMask {
|
||||
if bits != 8*IPv4len && bits != 8*IPv6len {
|
||||
|
Loading…
Reference in New Issue
Block a user