diff options
Diffstat (limited to 'net/tftp.c')
-rw-r--r-- | net/tftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tftp.c b/net/tftp.c index 84e970bec13..380094d4930 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -502,6 +502,7 @@ static void tftp_handler(uchar *pkt, unsigned dest, struct in_addr sip, int block = ntohs(*s); int ack_ok = (tftp_cur_block == block); + tftp_prev_block = tftp_cur_block; tftp_cur_block = (unsigned short)(block + 1); update_block_number(); if (ack_ok) |