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:
@ -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;
|
||||
|
Reference in New Issue
Block a user