mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-08 18:13:57 +01:00
cleanup
This commit is contained in:
parent
97f0abdc55
commit
d4e7211bc9
@ -703,13 +703,6 @@ func (lh *LightHouse) unlockedShouldAddV6(vpnAddr netip.Addr, to *V6AddrPort) bo
|
||||
return true
|
||||
}
|
||||
|
||||
// func lhIp6ToAddr(v *Ip6AndPort) netip.Addr {
|
||||
// var ip [16]byte
|
||||
// binary.BigEndian.PutUint64(ip[:8], v.Hi)
|
||||
// binary.BigEndian.PutUint64(ip[8:], v.Lo)
|
||||
// return netip.AddrFrom16(ip)
|
||||
// }
|
||||
|
||||
func (lh *LightHouse) IsLighthouseAddr(vpnAddr netip.Addr) bool {
|
||||
if _, ok := lh.GetLighthouses()[vpnAddr]; ok {
|
||||
return true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user