diff --git a/lab1/app/manage-connection/manage-connection.go b/lab1/app/manage-connection/manage-connection.go index 0022c4c7a06b8f2b7782af504658429a963a063c..6d922b51918fc04897364399f880cae9447d52e2 100644 --- a/lab1/app/manage-connection/manage-connection.go +++ b/lab1/app/manage-connection/manage-connection.go @@ -23,7 +23,7 @@ func CreateConnectionWithSpecifiedLocalAddress(senderAddress string, destination conn, err := dialer.Dial("tcp", destinationAddress) if err != nil { - fmt.Println("Error while connecting to the neighbour", err) + return CreateConnection(destinationAddress) } return conn