summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index f050076..9d0f08c 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -100,14 +100,13 @@ EOD;
$skew = 0;
}
}
- if($skew == 1) {
+ if($skew > 0) {
$dhcpdconf_pri = "";
$type = "secondary";
-
} else {
$type = "primary";
- $dhcpdconf_pri = "mclt 600;\n";
- $dhcpdconf_pri .= "split 128;\n";
+ $dhcpdconf_pri = " mclt 600;\n";
+ $dhcpdconf_pri .= " split 128;\n";
}
$dhcpdconf .= <<<EOPP
failover peer "dhcp{$dhcpnum}" {
@@ -123,8 +122,6 @@ failover peer "dhcp{$dhcpnum}" {
}
EOPP;
$dhcpnum++;
-
-
}
}
OpenPOWER on IntegriCloud