mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
TFTP default blocksize fix from Vampyre
This commit is contained in:
@@ -647,6 +647,7 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
|
|||||||
xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
|
xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
|
||||||
tftp->state = -1;
|
tftp->state = -1;
|
||||||
tftp->timer.expired = tftp_timer_expired;
|
tftp->timer.expired = tftp_timer_expired;
|
||||||
|
tftp->blksize = TFTP_DEFAULT_BLKSIZE;
|
||||||
|
|
||||||
/* Open socket */
|
/* Open socket */
|
||||||
memset ( &server, 0, sizeof ( server ) );
|
memset ( &server, 0, sizeof ( server ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user