commit 46065a85b25850d205b39b12a194de29e1d5c91d parent 7bb0e91714f97429d5a9d2ad7a88524701d3113d Author: Bart Polot <bart@net.in.tum.de> Date: Thu, 7 Nov 2013 02:06:36 +0000 - don't handshake on loopback tunnels Diffstat:
| M | src/mesh/gnunet-service-mesh_tunnel.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c @@ -1172,7 +1172,8 @@ GMT_change_state (struct MeshTunnel3* t, enum MeshTunnel3State state) "Tunnel %s state is now %s\n", GMP_2s (t->peer), GMT_state2s (state)); - if (MESH_TUNNEL3_WAITING == t->state && MESH_TUNNEL3_READY == state) + if (myid != GMP_get_short_id(t->peer) && + MESH_TUNNEL3_WAITING == t->state && MESH_TUNNEL3_READY == state) { rekey_tunnel (t, NULL); }