2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 23:31:39 +00:00

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

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 ) );