aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index cc4150d16..d8cce4dfc 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -4005,7 +4005,7 @@ handle_mesh_keepalive (void *cls, const struct GNUNET_PeerIdentity *peer,
4005 } 4005 }
4006 4006
4007 tunnel_reset_timeout (t); 4007 tunnel_reset_timeout (t);
4008 if (NULL != t->client || 0 == t->next_hop) 4008 if (NULL != t->client || 0 == t->next_hop || myid == t->next_hop)
4009 return GNUNET_OK; 4009 return GNUNET_OK;
4010 4010
4011 GNUNET_STATISTICS_update (stats, "# keepalives forwarded", 1, GNUNET_NO); 4011 GNUNET_STATISTICS_update (stats, "# keepalives forwarded", 1, GNUNET_NO);