gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r23624 - gnunet/src/mesh
Date: Tue, 4 Sep 2012 15:36:10 +0200

Author: bartpolot
Date: 2012-09-04 15:36:10 +0200 (Tue, 04 Sep 2012)
New Revision: 23624

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
- initialized ttl

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2012-09-04 13:34:23 UTC (rev 23623)
+++ gnunet/src/mesh/mesh_api.c  2012-09-04 13:36:10 UTC (rev 23624)
@@ -1412,6 +1412,7 @@
           uc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_UNICAST);
           uc.tid = htonl (t->tid);
           uc.pid = htonl (t->next_send_pid);
+          uc.ttl = 0;
           memset (&uc.oid, 0, sizeof (struct GNUNET_PeerIdentity));
           GNUNET_PEER_resolve (th->target, &uc.destination);
           memcpy (cbuf, &uc, sizeof (uc));




reply via email to

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