projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d221d5
)
- fix #3364, establish a new connection to a peer when a core connection becomes...
author
Bart Polot
<bart@net.in.tum.de>
Tue, 8 Apr 2014 00:03:15 +0000
(
00:03
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 8 Apr 2014 00:03:15 +0000
(
00:03
+0000)
src/mesh/gnunet-service-mesh_peer.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_peer.c
b/src/mesh/gnunet-service-mesh_peer.c
index 607012741e954b2c4a75451e26a3a34958c2d5be..47d3151c8cf5d0ecfc65a3b2863d1dbb81812690 100644
(file)
--- 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;
}