From: Roy Marples Date: Fri, 1 Dec 2006 20:08:33 +0000 (+0000) Subject: Changed the default timeout to 20 seconds, allowing hme Sparc drivers to work. X-Git-Tag: v3.2.3~366 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bc54d0eb63cc4797ed68005c31bc8dd77b0074e;p=thirdparty%2Fdhcpcd.git Changed the default timeout to 20 seconds, allowing hme Sparc drivers to work. --- diff --git a/ChangeLog b/ChangeLog index dbfa1edd..2704d680 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +Changed the default timeout to 20 seconds, allowing hme Sparc drivers to work. Set the rfds correctly so we can get a reply after re-sending a request. Set the seconds elasped and maximum message size correctly in DHCP messages. Now compiles on Linux 2.4 kernels. diff --git a/dhcpcd.8 b/dhcpcd.8 index 7bdf9753..7ace8b20 100644 --- a/dhcpcd.8 +++ b/dhcpcd.8 @@ -153,7 +153,7 @@ IP address. .BI \-t \ timeout Specifies (in seconds ) for how long .B dhcpcd -will try to get an IP address. The default is 10 seconds. +will try to get an IP address. The default is 20 seconds. .B dhcpcd will not fork into background until it gets a valid IP address in which case dhcpcd will return 0 to the parent process. diff --git a/dhcpcd.h b/dhcpcd.h index 6c340aeb..907e9d2d 100644 --- a/dhcpcd.h +++ b/dhcpcd.h @@ -29,7 +29,7 @@ #include "common.h" -#define DEFAULT_TIMEOUT 10 +#define DEFAULT_TIMEOUT 20 // #define DEFAULT_LEASETIME 0xffffffff /* infinite lease time */ #define DEFAULT_LEASETIME 3600 /* 1 hour */