Add puncuation to doc comment (#1164)

* Add puncuation to doc comment

* Fix list formatting inside `EncryptDanger` doc comment
This commit is contained in:
Caleb Jasik
2024-06-24 13:50:17 -05:00
committed by GitHub
parent 97e9834f82
commit 8109cf2170
2 changed files with 6 additions and 6 deletions

View File

@@ -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()
func ipMaskContains(ip iputil.VpnIp, zeros iputil.VpnIp, testIp iputil.VpnIp) bool {
return (testIp^ip)>>zeros == 0