summaryrefslogtreecommitdiffstats
path: root/src/interface/pxe
diff options
context:
space:
mode:
authorMichael Brown2005-06-01 15:13:05 +0200
committerMichael Brown2005-06-01 15:13:05 +0200
commit53a4436d94886b6b6b0d931158db2c79490591a1 (patch)
tree9f5a3b6f6644ed39d63758f66e8acbda672c903f /src/interface/pxe
parentNow have enough functions to implement a standard TFTP client in around 50 (diff)
downloadipxe-53a4436d94886b6b6b0d931158db2c79490591a1.tar.gz
ipxe-53a4436d94886b6b6b0d931158db2c79490591a1.tar.xz
ipxe-53a4436d94886b6b6b0d931158db2c79490591a1.zip
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.
Diffstat (limited to 'src/interface/pxe')
-rw-r--r--src/interface/pxe/pxe_tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/pxe/pxe_tftp.c b/src/interface/pxe/pxe_tftp.c
index 1faaf25b1..2d824e11b 100644
--- a/src/interface/pxe/pxe_tftp.c
+++ b/src/interface/pxe/pxe_tftp.c
@@ -131,7 +131,7 @@ PXENV_EXIT_t pxenv_tftp_open ( struct s_PXENV_TFTP_OPEN *tftp_open ) {
request.blksize = tftp_open->PacketSize;
DBG ( " %@:%d/%s (%d)", tftp_open->ServerIPAddress,
tftp_open->TFTPPort, request.name, request.blksize );
- if ( !request.blksize ) request.blksize = TFTP_DEFAULTSIZE_PACKET;
+ if ( !request.blksize ) request.blksize = TFTP_DEFAULT_BLKSIZE;
/* Make request and get first packet */
if ( !tftp_block ( &request, &block ) ) {
tftp_open->Status = PXENV_STATUS_TFTP_FILE_NOT_FOUND;