Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/tftp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index ab4e25967..f895d19f9 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -582,7 +582,8 @@ static int tftp_protocol(
* "An option not acknowledged by the server
* must be ignored by the client and server
* as if it were never requested." */
- bb_error_msg("server only supports blocksize of 512");
+ if (blksize != TFTP_BLKSIZE_DEFAULT)
+ bb_error_msg("falling back to blocksize "TFTP_BLKSIZE_DEFAULT_STR);
blksize = TFTP_BLKSIZE_DEFAULT;
io_bufsize = TFTP_BLKSIZE_DEFAULT + 4;
}