diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-11-14 15:56:06 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-11-14 15:56:06 +0000 |
commit | d67a1f6613ec4feadc99026f027483aff03f8381 (patch) | |
tree | 8ffee05cb632ab441b0c87452649ab913c3984bb | |
parent | bfa72b33236a5e43688fa3c170d2db49b58e7405 (diff) | |
download | gnunet-d67a1f6613ec4feadc99026f027483aff03f8381.tar.gz gnunet-d67a1f6613ec4feadc99026f027483aff03f8381.zip |
- send ping on rekey timeout
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 2 |
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; |