Increase number of DHCP discover attempts for interoperability
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Nov 2010 13:48:02 +0000 (14:48 +0100)
committerMarcel 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

index e3ae0db..5c5b426 100644 (file)
@@ -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