projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac00aa7
)
Patch from Christian Meyer:
author
Eric Andersen
<andersen@codepoet.org>
Sat, 26 Jul 2003 08:16:10 +0000
(08:16 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 26 Jul 2003 08:16:10 +0000
(08:16 -0000)
The client gives up way too soon because timeout is set to 0 ...
There's a solution for that problem.
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index a33b5c21eb96a88b5d2c6bdacf15d87d843ac137..da44284dc3cd6cf163877656b65d863de5a900e1 100644
(file)
--- 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;