From e139f199dde40b3d65886e74cb41747f6ba6bc48 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 17 Oct 2012 18:21:37 +0000 Subject: [PATCH] - fix bck ACK value --- src/mesh/gnunet-service-mesh.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 2b410fd96..057fdc842 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -4005,7 +4005,10 @@ tunnel_send_child_bck_ack (void *cls, return; } - cinfo->bck_ack++; // FIXME fc window size? + cinfo->bck_ack = t->bck_queue_max - t->bck_queue_n + cinfo->bck_pid; + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + " Sending BCK ACK %u\n", + cinfo->bck_ack); send_ack (t, &peer, cinfo->bck_ack); } -- 2.25.1