From: Eric Andersen Date: Sat, 26 Jul 2003 08:16:10 +0000 (-0000) Subject: Patch from Christian Meyer: X-Git-Tag: 1_00_pre2~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=05e662ab4d6b824d066c6c07fda039a903b28854;p=oweals%2Fbusybox.git Patch from Christian Meyer: The client gives up way too soon because timeout is set to 0 ... There's a solution for that problem. --- diff --git a/networking/tftp.c b/networking/tftp.c index a33b5c21e..da44284dc 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -286,6 +286,7 @@ static inline int tftp(const int cmd, const struct hostent *host, /* send packet */ + timeout = bb_tftp_num_retries; /* re-initialize */ do { len = cp - buf;