projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00434c4
)
- dont reject local ack from client
author
Bart Polot
<bart@net.in.tum.de>
Tue, 31 Jul 2012 14:52:20 +0000
(14:52 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 31 Jul 2012 14:52:20 +0000
(14:52 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index f2eaa8be50b719f3085d98214630e436d338b803..24a1c4611527097f3d5bf386f22c54ba17a0aa33 100644
(file)
--- a/
src/mesh/gnunet-service-mesh.c
+++ b/
src/mesh/gnunet-service-mesh.c
@@
-6438,6
+6438,21
@@
handle_local_multicast (void *cls, struct GNUNET_SERVER_Client *client,
}
}
+/**
+ * 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
*/
/**
* Functions to handle messages from clients
*/
@@
-6487,6
+6502,9
@@
static struct GNUNET_SERVER_MessageHandler client_handlers[] = {
GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN, 0},
{&handle_local_multicast, NULL,
GNUNET_MESSAGE_TYPE_MESH_MULTICAST, 0},
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}
};
{NULL, NULL, 0, 0}
};