From f340e90b082d67d7685db18633e5880aa4eb161e Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 7 Nov 2013 18:33:03 +0000 Subject: [PATCH] - ditto --- src/mesh/gnunet-service-mesh_connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index e20b4e9db..b66b9299b 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -1225,7 +1225,8 @@ GMC_handle_confirm (void *cls, const struct GNUNET_PeerIdentity *peer, { LOG (GNUNET_ERROR_TYPE_DEBUG, " Connection ACK for us!\n"); connection_change_state (c, MESH_CONNECTION_READY); - GMT_change_state (c->t, MESH_TUNNEL3_READY); + if (MESH_TUNNEL3_WAITING == GMT_get_state (c->t)) + GMT_change_state (c->t, MESH_TUNNEL3_READY); return GNUNET_OK; } -- 2.25.1