aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index 80a446ea3..4033da4ca 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -751,7 +751,7 @@ rekey_tunnel (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
751 UINT32_MAX); 751 UINT32_MAX);
752 t->kx_ctx->d_key_old = t->d_key; 752 t->kx_ctx->d_key_old = t->d_key;
753 send_ephemeral (t); 753 send_ephemeral (t);
754 if (MESH_TUNNEL3_READY == t->state) 754 if (MESH_TUNNEL3_READY == t->state || MESH_TUNNEL3_REKEY == t->state)
755 { 755 {
756 send_ping (t); 756 send_ping (t);
757 t->state = MESH_TUNNEL3_REKEY; 757 t->state = MESH_TUNNEL3_REKEY;