gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r22963 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r22963 - gnunet/src/mesh
Date: Mon, 30 Jul 2012 10:34:13 +0200

Author: bartpolot
Date: 2012-07-30 10:34:13 +0200 (Mon, 30 Jul 2012)
New Revision: 22963

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- allow loopback

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2012-07-30 07:56:01 UTC (rev 
22962)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2012-07-30 08:34:13 UTC (rev 
22963)
@@ -2180,7 +2180,7 @@
   neighbor = peer_info_get (peer);
   for (p = neighbor->path_head; NULL != p; p = p->next)
   {
-    if (2 == p->length)
+    if (2 >= p->length)
     {
       break;
     }
@@ -4465,7 +4465,8 @@
                 "  it's for us! sending to clients...\n");
     GNUNET_STATISTICS_update (stats, "# unicast received", 1, GNUNET_NO);
     send_subscribed_clients (message, (struct GNUNET_MessageHeader *) &msg[1]);
-    tunnel_send_ack (t, GNUNET_MESSAGE_TYPE_MESH_ACK); // FIXME send after 
client processes the packet
+    // FIXME send after client processes the packet
+    tunnel_send_ack (t, GNUNET_MESSAGE_TYPE_MESH_ACK);
     return GNUNET_OK;
   }
   ttl = ntohl (msg->ttl);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]