From b9a9a558201588dff7f6c55c174464e317dd10fe Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 3 Sep 2014 12:10:30 +0000 Subject: [PATCH] fix for neigbours created multiple times --- src/transport/gnunet-service-transport_neighbours.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 6867251f3..adf39d5bc 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -2199,6 +2199,9 @@ try_connect_bl_check_cont (void *cls, } /* Setup a new neighbour */ + if (NULL != (n = lookup_neighbour(peer))) + return; /* The neighbor was created in the meantime while waited for BL clients */ + n = setup_neighbour (peer); /* Request address suggestions for this peer */ -- 2.25.1