[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27859 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27859 - gnunet/src/mesh |
Date: |
Wed, 10 Jul 2013 03:26:04 +0200 |
Author: dold
Date: 2013-07-10 03:26:04 +0200 (Wed, 10 Jul 2013)
New Revision: 27859
Modified:
gnunet/src/mesh/mesh_api.c
Log:
- full message struct initialization
Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c 2013-07-10 01:11:29 UTC (rev 27858)
+++ gnunet/src/mesh/mesh_api.c 2013-07-10 01:26:04 UTC (rev 27859)
@@ -751,6 +751,7 @@
tmsg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE);
tmsg.header.size = htons (sizeof (struct GNUNET_MESH_TunnelMessage));
tmsg.tunnel_id = htonl (t->tid);
+ tmsg.port = htonl (t->port);
GNUNET_PEER_resolve (t->peer, &tmsg.peer);
options = 0;
@@ -1489,6 +1490,7 @@
msg.tunnel_id = htonl (t->tid);
msg.port = htonl (port);
msg.peer = *peer;
+ msg.options = 0;
t->last_ack_sent = 0;
send_packet (h, &msg.header, t);
return t;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27859 - gnunet/src/mesh,
gnunet <=