mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-06 02:30:57 -08:00
if interval is 0 don't even update lh (mobile use case)
This commit is contained in:
parent
0eb5ce6b41
commit
df8e45c13b
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ func NewIpAndPortsFromNetIps(ips []udpAddr) *[]*IpAndPort {
|
|||
}
|
||||
|
||||
func (lh *LightHouse) LhUpdateWorker(f EncWriter) {
|
||||
if lh.amLighthouse {
|
||||
if lh.amLighthouse || lh.interval == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue