From 94d8bba6dea46db5cc5ead1770b0c5c0a1811b02 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 20 Jan 2012 12:49:55 +0000 Subject: [PATCH] Fixed bug with remote tunnel traffic reception --- src/mesh/gnunet-service-mesh.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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, -- 2.25.1