diff options
Diffstat (limited to 'src/fragmentation')
-rw-r--r-- | src/fragmentation/fragmentation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c index 47b8a1929..c7207cb12 100644 --- a/src/fragmentation/fragmentation.c +++ b/src/fragmentation/fragmentation.c | |||
@@ -324,7 +324,8 @@ GNUNET_FRAGMENT_process_ack (struct GNUNET_FRAGMENT_Context *fc, | |||
324 | if (ntohl (fa->fragment_id) != fc->fragment_id) | 324 | if (ntohl (fa->fragment_id) != fc->fragment_id) |
325 | return GNUNET_SYSERR; /* not our ACK */ | 325 | return GNUNET_SYSERR; /* not our ACK */ |
326 | abits = GNUNET_ntohll (fa->bits); | 326 | abits = GNUNET_ntohll (fa->bits); |
327 | if (GNUNET_YES == fc->wack) | 327 | if ( (GNUNET_YES == fc->wack) && |
328 | (abits == (fc->acks & abits)) ) | ||
328 | { | 329 | { |
329 | /* normal ACK, can update running average of delay... */ | 330 | /* normal ACK, can update running average of delay... */ |
330 | fc->wack = GNUNET_NO; | 331 | fc->wack = GNUNET_NO; |