- Fixed bug where ignoring incoming tunnel by owner caused tunnel destruction
authorBart Polot <bart@net.in.tum.de>
Thu, 19 Apr 2012 12:12:14 +0000 (12:12 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 19 Apr 2012 12:12:14 +0000 (12:12 +0000)
src/mesh/gnunet-service-mesh.c

index 80848f2d537a3a6a8815f73f7251c7673562f023..b6421dd12d834bca522f4b4e0195c929aa87613c 100644 (file)
@@ -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