mirror of
https://github.com/golang/go
synced 2024-11-18 23:54:41 -07: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
|
return p
|
||||||
}
|
}
|
||||||
|
|
||||||
// CIDRMask returns an IPMask consisting of `ones' 1 bits
|
// CIDRMask returns an IPMask consisting of 'ones' 1 bits
|
||||||
// followed by 0s up to a total length of `bits' 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.
|
// For a mask of this form, CIDRMask is the inverse of IPMask.Size.
|
||||||
func CIDRMask(ones, bits int) IPMask {
|
func CIDRMask(ones, bits int) IPMask {
|
||||||
if bits != 8*IPv4len && bits != 8*IPv6len {
|
if bits != 8*IPv4len && bits != 8*IPv6len {
|
||||||
|
Loading…
Reference in New Issue
Block a user