diff options
-rw-r--r-- | networking/tftp.c | 3 |
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( | |||
582 | * "An option not acknowledged by the server | 582 | * "An option not acknowledged by the server |
583 | * must be ignored by the client and server | 583 | * must be ignored by the client and server |
584 | * as if it were never requested." */ | 584 | * as if it were never requested." */ |
585 | bb_error_msg("server only supports blocksize of 512"); | 585 | if (blksize != TFTP_BLKSIZE_DEFAULT) |
586 | bb_error_msg("falling back to blocksize "TFTP_BLKSIZE_DEFAULT_STR); | ||
586 | blksize = TFTP_BLKSIZE_DEFAULT; | 587 | blksize = TFTP_BLKSIZE_DEFAULT; |
587 | io_bufsize = TFTP_BLKSIZE_DEFAULT + 4; | 588 | io_bufsize = TFTP_BLKSIZE_DEFAULT + 4; |
588 | } | 589 | } |