5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 03:40:28 +00:00

Silence already connected to this node

This commit is contained in:
Neil Alexander 2022-10-02 12:36:51 +01:00
parent 7db934488e
commit 8cf76f841d

View File

@ -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.