From d77885a12e7ce356aa35dd5ee1dd78f93ca443cc Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 2 Oct 2015 03:37:33 +0000 Subject: [PATCH] - connect if there are less connections than the minimum, not more --- src/cadet/gnunet-service-cadet_peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index 4a25b0829..8827009e2 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c @@ -2150,7 +2150,7 @@ GCP_add_path (struct CadetPeer *peer, finish: if (NULL != peer->tunnel - && CONNECTIONS_PER_TUNNEL < GCT_count_connections (peer->tunnel)) + && CONNECTIONS_PER_TUNNEL > GCT_count_connections (peer->tunnel)) { GCP_connect (peer); } -- 2.25.1