diff options
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index af26d4c71..a3808f5bf 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -421,7 +421,7 @@ static inline int tftp(const int cmd, const struct hostent *host, #ifdef CONFIG_FEATURE_TFTP_DEBUG printf("using blksize %u\n", blksize); #endif - tftp_bufsize = foo + 4; + tftp_bufsize = blksize + 4; block_nr = 0; continue; } |