mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Silence already connected to this node
				
					
				
			This commit is contained in:
		
							parent
							
								
									7db934488e
								
							
						
					
					
						commit
						8cf76f841d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -219,7 +219,7 @@ func (intf *link) handler() error {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Don't connect to this link more than once.
 | 
						// Don't connect to this link more than once.
 | 
				
			||||||
	if intf.links.isConnectedTo(intf.info) {
 | 
						if intf.links.isConnectedTo(intf.info) {
 | 
				
			||||||
		return fmt.Errorf("already connected to this node")
 | 
							return nil
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Mark the connection as in progress.
 | 
						// Mark the connection as in progress.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue