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:
bd3981c
)
- improve mesh handling of unexpected traffic
author
Bart Polot
<bart@net.in.tum.de>
Mon, 10 Dec 2012 13:09:39 +0000
(13:09 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 10 Dec 2012 13:09:39 +0000
(13:09 +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 a31ffbd292f3c3dbaf3479dbe0dfd17aecf612f4..d1bd579efe045417344e6d3748173ba30f28c430 100644
(file)
--- a/
src/mesh/gnunet-service-mesh.c
+++ b/
src/mesh/gnunet-service-mesh.c
@@
-6038,6
+6038,13
@@
handle_mesh_data_to_orig (void *cls, const struct GNUNET_PeerIdentity *peer,
predecessor = tree_get_predecessor (t->tree);
if (0 == predecessor)
{
+ if (GNUNET_YES == t->destroy)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "to orig received on a dying tunnel %s [%X]\n",
+ GNUNET_i2s (&msg->oid), ntohl(msg->tid));
+ return GNUNET_OK;
+ }
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"unknown to origin at %s\n",
GNUNET_i2s (&my_full_id));