david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

TFTP default blocksize fix from Vampyre

This commit is contained in:
Marty Connor 2007-08-30 13:51:38 -04:00
parent 63f0e4e796
commit 14e1d3cc4d
1 changed files with 1 additions and 0 deletions

View File

@ -647,6 +647,7 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
tftp->state = -1;
tftp->timer.expired = tftp_timer_expired;
tftp->blksize = TFTP_DEFAULT_BLKSIZE;
/* Open socket */
memset ( &server, 0, sizeof ( server ) );