summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-08 23:48:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-08 23:48:16 +0000
commit9ce0c124905a6a913c7bd1b1f42b4777a6ff28a1 (patch)
treee7d5fac8c6315613209f67a650d20b9a7a6754a1 /etc/inc/interfaces.inc
parent80e60d7cd1e8f735d7655fd7f8d53fdafe2aca79 (diff)
downloadpfsense-9ce0c124905a6a913c7bd1b1f42b4777a6ff28a1.zip
pfsense-9ce0c124905a6a913c7bd1b1f42b4777a6ff28a1.tar.gz
MFC from HEAD Set dhclient timeout to 1200. Set retry value to 1. Set select-timeout to 0. Set initial-interval to 1.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 4aed225..531dc26 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -989,6 +989,10 @@ function interfaces_opt_dhcp_configure($interface) {
$dhclientconf = "";
$dhclientconf .= <<<EOD
+timeout 1200;
+retry 1;
+select-timeout 0;
+initial-interval 1;
interface "{$optif}" {
script "/sbin/dhclient-script";
{$dhclientconf_hostname}
@@ -1033,6 +1037,10 @@ function interfaces_dhcp_configure($interface) {
$dhclientconf = "";
$dhclientconf .= <<<EOD
+timeout 1200;
+retry 1;
+select-timeout 0;
+initial-interval 1;
interface "{$realinterface}" {
{$dhclientconf_hostname}
script "/sbin/dhclient-script";
@@ -1080,6 +1088,10 @@ function interfaces_wan_dhcp_configure() {
$dhclientconf = "";
$dhclientconf .= <<<EOD
+timeout 1200;
+retry 1;
+select-timeout 0;
+initial-interval 1;
interface "{$wancfg['if']}" {
{$dhclientconf_hostname}
script "/sbin/dhclient-script";
OpenPOWER on IntegriCloud