mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-23 02:55:39 +00:00
Fix interval check when sending multicast beacons
This commit is contained in:
parent
2831d73f73
commit
fcefb20993
@ -358,6 +358,7 @@ func (m *Multicast) _announce() {
|
|||||||
if linfo.interval.Seconds() < 15 {
|
if linfo.interval.Seconds() < 15 {
|
||||||
linfo.interval += time.Second
|
linfo.interval += time.Second
|
||||||
}
|
}
|
||||||
|
linfo.time = time.Now()
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user