Skip to content
Snippets Groups Projects
Commit 3dbe5a81 authored by Xavier Perret's avatar Xavier Perret
Browse files

bim

parent 0adc9f4c
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ func CreateConnectionWithSpecifiedLocalAddress(senderAddress string, destination ...@@ -23,7 +23,7 @@ func CreateConnectionWithSpecifiedLocalAddress(senderAddress string, destination
conn, err := dialer.Dial("tcp", destinationAddress) conn, err := dialer.Dial("tcp", destinationAddress)
if err != nil { if err != nil {
fmt.Println("Error while connecting to the neighbour", err) return CreateConnection(destinationAddress)
} }
return conn return conn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment