From 3dbe5a81227a2584e41baae1db8206fb3663fb4c Mon Sep 17 00:00:00 2001 From: Xavier Perret <xa.perret@outlook.com> Date: Sat, 5 Nov 2022 15:38:08 +0100 Subject: [PATCH] bim --- lab1/app/manage-connection/manage-connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab1/app/manage-connection/manage-connection.go b/lab1/app/manage-connection/manage-connection.go index 0022c4c..6d922b5 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 -- GitLab