From 4ac0663f68bcd718767e3f958ffd2850308a244a Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 8 Apr 2014 00:03:15 +0000 Subject: [PATCH] - fix #3364, establish a new connection to a peer when a core connection becomes available and a tunnel is present --- src/mesh/gnunet-service-mesh_peer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c index 607012741..47d3151c8 100644 --- a/src/mesh/gnunet-service-mesh_peer.c +++ b/src/mesh/gnunet-service-mesh_peer.c @@ -301,6 +301,10 @@ core_connect (void *cls, const struct GNUNET_PeerIdentity *peer) GMP_add_path (mp, path, GNUNET_YES); mp->connections = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_YES); + + if (NULL != GMP_get_tunnel (peer)) + GMP_connect (peer); + return; } -- 2.25.1