5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-26 03:05:41 +00:00

Merge branch 'develop' into neilalexander/pinning

This commit is contained in:
Neil Alexander 2020-05-09 12:12:24 +01:00
commit a59fd2a489
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -33,14 +33,14 @@ var awdlGoroutineStarted bool
func (m *Multicast) _multicastStarted() {
C.StopAWDLBrowsing()
for intf := range m.Interfaces() {
for intf := range m._interfaces {
if intf == "awdl0" {
C.StartAWDLBrowsing()
break
}
}
m.platformhandler = time.AfterFunc(time.Minute, func() {
m.Act(m, m._multicastStarted)
m.Act(nil, m._multicastStarted)
})
}