VirtualBox

Ignore:
Timestamp:
Dec 14, 2009 7:57:04 PM (15 years ago)
Author:
vboxsync
Message:

Etherboot: fix 16bit wraparound bug in TFTP (#3532)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/Etherboot-src/core/nic.c

    r2275 r25379  
    842842                } break;
    843843                case TFTP_DATA :
     844#ifdef VBOX
     845                        if ( ntohs(rcvd->u.data.block) != (unsigned short)( blockidx + 1 ) )
     846#else /* !VBOX */
    844847                        if ( ntohs(rcvd->u.data.block) != ( blockidx + 1 ) )
     848#endif /* !VBOX */
    845849                                break; /* Re-ACK last block sent */
    846850                        if ( recvlen > ( blksize+sizeof(rcvd->u.data.block) ) )
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette