mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-03 18:55:08 +03:00 
			
		
		
		
	Fix typo
This commit is contained in:
		
							parent
							
								
									3a0870a448
								
							
						
					
					
						commit
						baebaabc43
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -21,7 +21,7 @@ import (
 | 
				
			||||||
// Configures the TUN adapter with the correct IPv6 address and MTU.
 | 
					// Configures the TUN adapter with the correct IPv6 address and MTU.
 | 
				
			||||||
func (tun *TunAdapter) setup(ifname string, addr string, mtu int) error {
 | 
					func (tun *TunAdapter) setup(ifname string, addr string, mtu int) error {
 | 
				
			||||||
	if ifname == "auto" {
 | 
						if ifname == "auto" {
 | 
				
			||||||
		ifname = defaults.GetDefaults().IfName
 | 
							ifname = defaults.GetDefaults().DefaultIfName
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	var err error
 | 
						var err error
 | 
				
			||||||
	err = doAsSystem(func() {
 | 
						err = doAsSystem(func() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue