Add puncuation to doc comment (#1164)
* Add puncuation to doc comment * Fix list formatting inside `EncryptDanger` doc comment
This commit is contained in:
parent
97e9834f82
commit
8109cf2170
2 changed files with 6 additions and 6 deletions
|
@ -1151,7 +1151,7 @@ func (lhh *LightHouseHandler) handleHostPunchNotification(n *NebulaMeta, vpnIp i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ipMaskContains checks if testIp is contained by ip after applying a cidr
|
// ipMaskContains checks if testIp is contained by ip after applying a cidr.
|
||||||
// zeros is 32 - bits from net.IPMask.Size()
|
// zeros is 32 - bits from net.IPMask.Size()
|
||||||
func ipMaskContains(ip iputil.VpnIp, zeros iputil.VpnIp, testIp iputil.VpnIp) bool {
|
func ipMaskContains(ip iputil.VpnIp, zeros iputil.VpnIp, testIp iputil.VpnIp) bool {
|
||||||
return (testIp^ip)>>zeros == 0
|
return (testIp^ip)>>zeros == 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue