From 2e7b41d8974616cd950acb6be2f4319dea454f79 Mon Sep 17 00:00:00 2001 From: andersen Date: Sat, 26 Jul 2003 08:16:10 +0000 Subject: Patch from Christian Meyer: The client gives up way too soon because timeout is set to 0 ... There's a solution for that problem. git-svn-id: svn://busybox.net/trunk/busybox@7110 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/tftp.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-55-g6feb