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:
03e3161
)
-Fixed coverity #10264
author
Bart Polot
<bart@net.in.tum.de>
Fri, 25 Nov 2011 17:43:16 +0000
(17:43 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 25 Nov 2011 17:43:16 +0000
(17:43 +0000)
src/mesh/mesh_api.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index 101510d40b5806e950baf0693b1ddeb60d990b53..c089b3b3fbf269bc4999ffed1b7d6f9f9904e3d0 100644
(file)
--- 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));
}