summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/udp/tftp.c1
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 ) );