From: Bart Polot Date: Fri, 20 Jan 2012 12:49:55 +0000 (+0000) Subject: Fixed bug with remote tunnel traffic reception X-Git-Tag: initial-import-from-subversion-38251~15202 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94d8bba6dea46db5cc5ead1770b0c5c0a1811b02;p=oweals%2Fgnunet.git Fixed bug with remote tunnel traffic reception --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 379609c96..2b55f0822 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -861,15 +861,10 @@ send_subscribed_clients (const struct GNUNET_MessageHeader *msg, // FIXME proper client differentiation mechanism required if (htons (msg->type) == GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN) *tid = htonl (t->local_tid); - else if(c == t->client) - *tid = htonl (t->local_tid); else if(c == t->client_dest) *tid = htonl (t->local_tid_dest); else - { - GNUNET_break (0); - continue; - } + *tid = htonl (t->local_tid); count++; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: sending\n"); GNUNET_SERVER_notification_context_unicast (nc, c->handle,