aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-05-10 16:25:06 +0000
committerBart Polot <bart@net.in.tum.de>2013-05-10 16:25:06 +0000
commitac299b27f8b65e42b13241c0797971350c5c83f6 (patch)
treedb82ccff97cd49b3ef8d5c72388dd88ddbe89407 /src
parent244ce828b28118152d9eca3ba98fe0e031a1ebbb (diff)
downloadgnunet-ac299b27f8b65e42b13241c0797971350c5c83f6.tar.gz
gnunet-ac299b27f8b65e42b13241c0797971350c5c83f6.zip
- owner does not timeout tunnel
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh-new.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c
index cf29e75ac..6ed5594da 100644
--- a/src/mesh/gnunet-service-mesh-new.c
+++ b/src/mesh/gnunet-service-mesh-new.c
@@ -4481,7 +4481,6 @@ path_refresh (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
4481 4481
4482 msg = (struct GNUNET_MESH_TunnelKeepAlive *) cbuf; 4482 msg = (struct GNUNET_MESH_TunnelKeepAlive *) cbuf;
4483 msg->header.size = htons (size); 4483 msg->header.size = htons (size);
4484 // FIXME change to tunnel keepalive
4485 msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_PATH_KEEPALIVE); 4484 msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_PATH_KEEPALIVE);
4486 msg->oid = my_full_id; 4485 msg->oid = my_full_id;
4487 msg->tid = htonl (t->id.tid); 4486 msg->tid = htonl (t->id.tid);
@@ -4489,7 +4488,6 @@ path_refresh (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
4489 4488
4490 t->maintenance_task = 4489 t->maintenance_task =
4491 GNUNET_SCHEDULER_add_delayed (refresh_path_time, &path_refresh, t); 4490 GNUNET_SCHEDULER_add_delayed (refresh_path_time, &path_refresh, t);
4492 tunnel_reset_timeout (t);
4493} 4491}
4494 4492
4495 4493