summaryrefslogtreecommitdiff
path: root/gdhcp/client.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-11-24 14:48:02 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-11-24 14:48:02 +0100
commit8a657ffc22119c65ee32c3c1f17c23950cf6c04e (patch)
tree1d30935897d60f5af48e5d5f3dbf82d70eab8f6b /gdhcp/client.c
parentc15a083bbe2e2966f2cd65e3085d55b21ff3013e (diff)
downloadconnman-8a657ffc22119c65ee32c3c1f17c23950cf6c04e.tar.gz
connman-8a657ffc22119c65ee32c3c1f17c23950cf6c04e.tar.bz2
connman-8a657ffc22119c65ee32c3c1f17c23950cf6c04e.zip
Increase number of DHCP discover attempts for interoperability
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.
Diffstat (limited to 'gdhcp/client.c')
-rw-r--r--gdhcp/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c
index e3ae0dbb..5c5b4263 100644
--- 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