aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/tftp.c1
1 files changed, 1 insertions, 0 deletions
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;