summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-10 23:12:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-10 23:12:58 +0000
commitdca17b8e748c32b2faf7fca08df9d23754857b5a (patch)
tree390f9a07421b16cbe1aec785447088aef4423695 /etc
parent26fd16f0458716288ee4069e24f2dbb480667294 (diff)
downloadpfsense-dca17b8e748c32b2faf7fca08df9d23754857b5a.zip
pfsense-dca17b8e748c32b2faf7fca08df9d23754857b5a.tar.gz
Set hosts with a skew higher than 102 as a backup dhcp server.
Found at Bluegrass.net while building a new CARP cluster.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index aea43ea..7a5e4f2 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -110,7 +110,7 @@ EOD;
} else {
log_error("Warning! DHCP Failover setup and no CARP virtual IP's defined!");
}
- if($skew > 0) {
+ if($skew > 101) {
$type = "secondary";
$dhcpdconf_pri = "mclt 600;\n";
$my_port = "520";
OpenPOWER on IntegriCloud