mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Merge branch 'develop' of https://github.com/yggdrasil-network/yggdrasil-go into future
This commit is contained in:
		
						commit
						433e392bdf
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
	})
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue