summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-05-14 12:15:49 +0000
committerBart Polot <bart@net.in.tum.de>2013-05-14 12:15:49 +0000
commit78a2c0ed897f0c3c8abaaaafd9a714f56c258681 (patch)
treee373bd5de3e1a40a7cb3ff7d212762041693a228
parent451cd0f4b56013d76c818dff06738e1b31fed0b5 (diff)
- dont use per-hop packet ID
-rw-r--r--src/mesh/gnunet-service-mesh-new.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c
index 657d35829..ccd7aceb4 100644
--- a/src/mesh/gnunet-service-mesh-new.c
+++ b/src/mesh/gnunet-service-mesh-new.c
@@ -1123,16 +1123,11 @@ send_prebuilt_message (const struct GNUNET_MessageHeader *message,
switch (type)
{
struct GNUNET_MESH_Unicast *u;
- struct GNUNET_MESH_ToOrigin *to;
case GNUNET_MESSAGE_TYPE_MESH_UNICAST:
u = (struct GNUNET_MESH_Unicast *) data;
u->ttl = htonl (ntohl (u->ttl) - 1);
break;
- case GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN:
- to = (struct GNUNET_MESH_ToOrigin *) data;
- t->prev_fc.last_pid_sent++; /* FIXME per hop? */
- to->pid = htonl (t->prev_fc.last_pid_sent);
}
GNUNET_PEER_resolve (peer, &id);
neighbor = peer_get (&id);