aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/mesh_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 101510d40..c089b3b3f 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -1087,6 +1087,7 @@ send_callback (void *cls, size_t size, void *buf)
1087 mc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_MULTICAST); 1087 mc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_MULTICAST);
1088 mc.tid = htonl (th->tunnel->tid); 1088 mc.tid = htonl (th->tunnel->tid);
1089 mc.mid = 0; 1089 mc.mid = 0;
1090 mc.ttl = 0;
1090 memset (&mc.oid, 0, sizeof (struct GNUNET_PeerIdentity)); 1091 memset (&mc.oid, 0, sizeof (struct GNUNET_PeerIdentity));
1091 memcpy (cbuf, &mc, sizeof (mc)); 1092 memcpy (cbuf, &mc, sizeof (mc));
1092 } 1093 }