diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-01-20 12:49:55 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-01-20 12:49:55 +0000 |
commit | 94d8bba6dea46db5cc5ead1770b0c5c0a1811b02 (patch) | |
tree | 12223176ecf720b322882a217f600a79a79c2de9 /src/mesh | |
parent | f7a78994c2d73e7fd31ff2f34d16095470bf0a07 (diff) | |
download | gnunet-94d8bba6dea46db5cc5ead1770b0c5c0a1811b02.tar.gz gnunet-94d8bba6dea46db5cc5ead1770b0c5c0a1811b02.zip |
Fixed bug with remote tunnel traffic reception
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 7 |
1 files changed, 1 insertions, 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, | |||
861 | // FIXME proper client differentiation mechanism required | 861 | // FIXME proper client differentiation mechanism required |
862 | if (htons (msg->type) == GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN) | 862 | if (htons (msg->type) == GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN) |
863 | *tid = htonl (t->local_tid); | 863 | *tid = htonl (t->local_tid); |
864 | else if(c == t->client) | ||
865 | *tid = htonl (t->local_tid); | ||
866 | else if(c == t->client_dest) | 864 | else if(c == t->client_dest) |
867 | *tid = htonl (t->local_tid_dest); | 865 | *tid = htonl (t->local_tid_dest); |
868 | else | 866 | else |
869 | { | 867 | *tid = htonl (t->local_tid); |
870 | GNUNET_break (0); | ||
871 | continue; | ||
872 | } | ||
873 | count++; | 868 | count++; |
874 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: sending\n"); | 869 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: sending\n"); |
875 | GNUNET_SERVER_notification_context_unicast (nc, c->handle, | 870 | GNUNET_SERVER_notification_context_unicast (nc, c->handle, |