diff options
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 352037f1b..6cd3f69d3 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -501,11 +501,14 @@ static int tftp_protocol( | |||
501 | } | 501 | } |
502 | continue; /* send ACK */ | 502 | continue; /* send ACK */ |
503 | } | 503 | } |
504 | /* Disabled to cope with servers with Sorcerer's Apprentice Syndrome */ | ||
505 | #if 0 | ||
504 | if (recv_blk == (block_nr - 1)) { | 506 | if (recv_blk == (block_nr - 1)) { |
505 | /* Server lost our TFTP_ACK. Resend it */ | 507 | /* Server lost our TFTP_ACK. Resend it */ |
506 | block_nr = recv_blk; | 508 | block_nr = recv_blk; |
507 | continue; | 509 | continue; |
508 | } | 510 | } |
511 | #endif | ||
509 | } | 512 | } |
510 | 513 | ||
511 | if (CMD_PUT(option_mask32) && (opcode == TFTP_ACK)) { | 514 | if (CMD_PUT(option_mask32) && (opcode == TFTP_ACK)) { |