Show
Ignore:
Timestamp:
06/26/09 16:09:38 (5 months ago)
Author:
BrainSlayer
Message:

lates image and source changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ar5315_microredboot/microredboot/ecos/packages/redboot/current/src/net/tftp_client.c

    r12376 r12385  
    223223                                if (ntohs(hdr->th_opcode) == DATA) { 
    224224                                        if (ntohs(hdr->th_block) == 
    225                                             (cyg_uint16) ((tftp_stream. 
    226                                                            last_good_block + 
    227                                                            1) & 0xFFFF)) { 
     225                                            (cyg_uint16) ((tftp_stream.last_good_block + 1) & 0xFFFF)) { 
    228226                                                // Consume this data 
    229227                                                data_len -= 4;  /* Sizeof TFTP header */