diff options
author | Marty Connor <mdc@etherboot.org> | 2007-08-30 13:51:38 -0400 |
---|---|---|
committer | Marty Connor <mdc@etherboot.org> | 2007-08-30 13:51:38 -0400 |
commit | 14e1d3cc4d7b7894fe5f8ed19329776cc79cf24e (patch) | |
tree | 43abde4768760b301cbbee803d0e938263011567 /src/net/udp/tftp.c | |
parent | 63f0e4e796fcbd88107163387173bfe38d6f6af1 (diff) | |
download | ipxe-14e1d3cc4d7b7894fe5f8ed19329776cc79cf24e.tar.gz |
TFTP default blocksize fix from Vampyre
Diffstat (limited to 'src/net/udp/tftp.c')
-rw-r--r-- | src/net/udp/tftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index 7f1c4ce64..6c1c51b01 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.c @@ -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 ) ); |