mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Fix merge conflict in tcp.go from d027a9ba75
				
					
				
			This commit is contained in:
		
							parent
							
								
									69cd736112
								
							
						
					
					
						commit
						8eed15b813
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -161,8 +161,10 @@ func (iface *tcpInterface) call(saddr string, socksaddr *string, sintf string) {
 | 
			
		|||
			dialer := net.Dialer{}
 | 
			
		||||
			if sintf != "" {
 | 
			
		||||
				ief, err := net.InterfaceByName(sintf)
 | 
			
		||||
				if err == nil {
 | 
			
		||||
					if ief.Flags&net.FlagUp == 0 {
 | 
			
		||||
				if err != nil {
 | 
			
		||||
					return
 | 
			
		||||
				} else {
 | 
			
		||||
					if ief.Flags & net.FlagUp == 0 {
 | 
			
		||||
						return
 | 
			
		||||
					}
 | 
			
		||||
					addrs, err := ief.Addrs()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue