projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b1c125
)
- fix keepalive loop
author
Bart Polot
<bart@net.in.tum.de>
Mon, 8 Jul 2013 12:58:14 +0000
(12:58 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 8 Jul 2013 12:58:14 +0000
(12:58 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index cc4150d167f9cb00fa16865cd304742d7bba5291..d8cce4dfcc8fdd663e81db9f5f5009ff9a4dbe15 100644
(file)
--- 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,
}
tunnel_reset_timeout (t);
- if (NULL != t->client || 0 == t->next_hop)
+ if (NULL != t->client || 0 == t->next_hop
|| myid == t->next_hop
)
return GNUNET_OK;
GNUNET_STATISTICS_update (stats, "# keepalives forwarded", 1, GNUNET_NO);