Patch from Christian Meyer:
The client gives up way too soon because timeout is set to 0 ... There's a solution for that problem.
This commit is contained in:
parent
ac00aa7599
commit
05e662ab4d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user