mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Add -normaliseconf option and temporarily correct old config item names in running config
This commit is contained in:
		
							parent
							
								
									9d9083e373
								
							
						
					
					
						commit
						ce854a76bd
					
				
					 3 changed files with 37 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -391,7 +391,7 @@ func (c *Core) DEBUG_setupAndStartMulticastInterface() {
 | 
			
		|||
	m := multicast{}
 | 
			
		||||
	m.init(c)
 | 
			
		||||
	c.multicast = m
 | 
			
		||||
	m.Start()
 | 
			
		||||
	m.start()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,7 +44,7 @@ func (m *multicast) init(core *Core) {
 | 
			
		|||
	m.core.log.Println("Found", len(m.interfaces), "multicast interface(s)")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *multicast) Start() {
 | 
			
		||||
func (m *multicast) start() {
 | 
			
		||||
	if len(m.core.ifceExpr) == 0 {
 | 
			
		||||
		m.core.log.Println("Multicast discovery is disabled")
 | 
			
		||||
	} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue