projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15a083
)
Increase number of DHCP discover attempts for interoperability
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 24 Nov 2010 13:48:02 +0000
(14:48 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 24 Nov 2010 13:48:02 +0000
(14:48 +0100)
Currently the DHCP discover is retried five times with a timeout of
three seconds. This is not always enough if a bridge forward delay
is longer than 15 seconds is configured. So increase DHCP discover
attempts to ten times.
gdhcp/client.c
patch
|
blob
|
history
diff --git
a/gdhcp/client.c
b/gdhcp/client.c
index e3ae0dbb5758743dfec418f77bd834a27d87be82..5c5b42635cd40d16912e9be34bd4d1e545b9075d 100644
(file)
--- a/
gdhcp/client.c
+++ b/
gdhcp/client.c
@@
-43,7
+43,7
@@
#include "common.h"
#define DISCOVER_TIMEOUT 3
-#define DISCOVER_RETRIES
5
+#define DISCOVER_RETRIES
10
#define REQUEST_TIMEOUT 3
#define REQUEST_RETRIES 5