mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-25 00:11:35 +00:00
Silence already connected to this node
This commit is contained in:
parent
7db934488e
commit
8cf76f841d
@ -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…
Reference in New Issue
Block a user