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:
b2dce24
)
- don't notify about tunnel that is dying
author
Bart Polot
<bart@net.in.tum.de>
Thu, 13 Dec 2012 11:43:52 +0000
(11:43 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 13 Dec 2012 11:43:52 +0000
(11:43 +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 116d88b77eb21f2b7200e905c895727f1fafcbb6..f0a42f118f32942b94172e7eb783c8c1f999ed99 100644
(file)
--- a/
src/mesh/gnunet-service-mesh.c
+++ b/
src/mesh/gnunet-service-mesh.c
@@
-2273,6
+2273,9
@@
send_client_peer_connected (const struct MeshTunnel *t, const GNUNET_PEER_Id id)
{
struct GNUNET_MESH_PeerControl pc;
+ if (NULL == t->owner || GNUNET_YES == t->destroy)
+ return;
+
pc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD);
pc.header.size = htons (sizeof (struct GNUNET_MESH_PeerControl));
pc.tunnel_id = htonl (t->local_tid);