diff options
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 026297b65a..5b6829375d 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -1424,7 +1424,8 @@ run (void *cls, minimum_friend_count, autoconnect ? "autoconnect enabled" : "autoconnect disabled"); #endif - if (friend_count < minimum_friend_count) + if ( (friend_count < minimum_friend_count) && + (blacklist == NULL) ) blacklist = GNUNET_TRANSPORT_blacklist (cfg, &blacklist_check, NULL); transport = GNUNET_TRANSPORT_connect (cfg, |