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:
62cd6b3
)
- fix local infinite retransmission loop
author
Bart Polot
<bart@net.in.tum.de>
Mon, 8 Jul 2013 12:36:37 +0000
(12:36 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 8 Jul 2013 12:36:37 +0000
(12:36 +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 dd65251a98c33c6e1083e846541a0ff875bd2b4b..1a0ab3b6e33551d4a202c66c5458958d5f196660 100644
(file)
--- a/
src/mesh/gnunet-service-mesh.c
+++ b/
src/mesh/gnunet-service-mesh.c
@@
-4001,6
+4001,8
@@
handle_mesh_keepalive (void *cls, const struct GNUNET_PeerIdentity *peer,
}
tunnel_reset_timeout (t);
}
tunnel_reset_timeout (t);
+ if (NULL != t->client || 0 == t->next_hop)
+ return GNUNET_OK;
GNUNET_STATISTICS_update (stats, "# keepalives forwarded", 1, GNUNET_NO);
send_prebuilt_message (message, t->next_hop, t);
GNUNET_STATISTICS_update (stats, "# keepalives forwarded", 1, GNUNET_NO);
send_prebuilt_message (message, t->next_hop, t);