From: Bart Polot Date: Thu, 19 Apr 2012 12:12:14 +0000 (+0000) Subject: - Fixed bug where ignoring incoming tunnel by owner caused tunnel destruction X-Git-Tag: initial-import-from-subversion-38251~13877 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6f0abcf29d97a54ec16ff12e931a23ae942e3dee;p=oweals%2Fgnunet.git - Fixed bug where ignoring incoming tunnel by owner caused tunnel destruction --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 80848f2d5..b6421dd12 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -4026,7 +4026,7 @@ handle_local_tunnel_destroy (void *cls, struct GNUNET_SERVER_Client *client, return; } send_client_tunnel_disconnect(t, c); - if (c != t->owner) + if (c != t->owner || tid >= GNUNET_MESH_LOCAL_TUNNEL_ID_SERV) { client_ignore_tunnel (c, t); #if 0