summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-22 20:54:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-22 20:54:14 +0000
commitb259d1c6e0a144a5c6267c2fe9278b25a0068b2e (patch)
tree23a691826a415e63ea4b4a4da852c3664b4b3053 /etc/inc/services.inc
parentf828ebdef8ed991e25fa2e1d79c898099d108622 (diff)
downloadpfsense-b259d1c6e0a144a5c6267c2fe9278b25a0068b2e.zip
pfsense-b259d1c6e0a144a5c6267c2fe9278b25a0068b2e.tar.gz
Add load balance max seconds
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r--etc/inc/services.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 16e6ba4..69b8414 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -101,13 +101,12 @@ EOD;
}
}
if($skew > 0) {
- $dhcpdconf_pri = "";
$type = "secondary";
+ $dhcpdconf_pri = "";
} else {
$type = "primary";
- $dhcpdconf_pri = " mclt 600;\n";
+ $dhcpdconf_pri = " mclt 600;\n";
$dhcpdconf_pri .= " split 128;\n";
- $dhcpdconf_pri .= " load balance max seconds 3;\n";
}
$dhcpdconf .= <<<EOPP
failover peer "dhcp{$dhcpnum}" {
@@ -119,7 +118,7 @@ failover peer "dhcp{$dhcpnum}" {
max-response-delay 60;
max-unacked-updates 10;
{$dhcpdconf_pri}
- load balance max seconds 3;
+ load balance max seconds 3;
}
EOPP;
$dhcpnum++;
OpenPOWER on IntegriCloud