From 8a657ffc22119c65ee32c3c1f17c23950cf6c04e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 24 Nov 2010 14:48:02 +0100 Subject: 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. --- gdhcp/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdhcp/client.c') 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 -- cgit v1.2.3