- tmp hack
[oweals/gnunet.git] / src / mesh / mesh2_api.c
index 0475f7fe01c9fd224bad8f765654d0f80c970ff8..80c1c03d4183b482f17e2f95c625bcc3200d522c 100644 (file)
@@ -821,6 +821,7 @@ process_tunnel_created (struct GNUNET_MESH_Handle *h,
   if (NULL != h->new_tunnel)
   {
     t = create_tunnel (h, tid);
+    t->last_ack_sent = INITIAL_WINDOW_SIZE - 1;
     t->peer = GNUNET_PEER_intern (&msg->peer);
     GNUNET_PEER_change_rc (t->peer, 1);
     t->mesh = h;