- Additional fix to #2095 (local clients can do ToOrigin too)
authorBart Polot <bart@net.in.tum.de>
Mon, 23 Jan 2012 14:27:18 +0000 (14:27 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 23 Jan 2012 14:27:18 +0000 (14:27 +0000)
src/mesh/gnunet-service-mesh.c

index a09c60f930d77642e071d9f919157ea46c4f9a7c..1c47d7fcfc70780ddc7d3a543d96fade5ec5dd4b 100644 (file)
@@ -4212,7 +4212,7 @@ handle_local_to_origin (void *cls, struct GNUNET_SERVER_Client *client,
   }
 
   /*  It shouldn't be a local tunnel.  */
-  if (NULL != t->client)
+  if (NULL != t->client && NULL == t->client_dest)
   {
     GNUNET_break (0);
     GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);