gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r23017 - gnunet/src/mesh
Date: Tue, 31 Jul 2012 16:52:20 +0200

Author: bartpolot
Date: 2012-07-31 16:52:20 +0200 (Tue, 31 Jul 2012)
New Revision: 23017

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- dont reject local ack from client

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2012-07-31 14:43:34 UTC (rev 
23016)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2012-07-31 14:52:20 UTC (rev 
23017)
@@ -6439,6 +6439,21 @@
 
 
 /**
+ * Handler for client ACKs for payload traffic.
+ *
+ * @param cls Closure (unused).
+ * @param client Identification of the client.
+ * @param message The actual message.
+ */
+static void
+handle_local_ack (void *cls, struct GNUNET_SERVER_Client *client,
+                  const struct GNUNET_MessageHeader *message)
+{
+  return;
+}
+
+
+/**
  * Functions to handle messages from clients
  */
 static struct GNUNET_SERVER_MessageHandler client_handlers[] = {
@@ -6487,6 +6502,9 @@
    GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN, 0},
   {&handle_local_multicast, NULL,
    GNUNET_MESSAGE_TYPE_MESH_MULTICAST, 0},
+  {&handle_local_ack, NULL,
+   GNUNET_MESSAGE_TYPE_MESH_LOCAL_ACK,
+   sizeof (struct GNUNET_MESH_LocalAck)},
   {NULL, NULL, 0, 0}
 };
 




reply via email to

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