summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-25 17:43:16 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-25 17:43:16 +0000
commit48a507423a2f014aeb559ad4e58acd7ab1c8fc41 (patch)
tree5df67505c07847e491388abf72db6bd87fc39981
parent03e31611b8e485507d99c2f356c8cc7fa5858941 (diff)
-Fixed coverity #10264
-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)
mc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_MULTICAST);
mc.tid = htonl (th->tunnel->tid);
mc.mid = 0;
+ mc.ttl = 0;
memset (&mc.oid, 0, sizeof (struct GNUNET_PeerIdentity));
memcpy (cbuf, &mc, sizeof (mc));
}