From bc5af66d914e1cf83733e17b9a2cc415ed976e03 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 22 Aug 2005 20:35:29 +0000 Subject: Only setup mclt and split for primary node --- etc/inc/services.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/inc/services.inc b/etc/inc/services.inc index db0e98e..68f051c 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -113,12 +113,14 @@ failover peer "dhcp{$dhcpnum}" { peer address {$dhcpifconf['failover_peerip']}; peer port 519; max-response-delay 60; - max-unacked-updates 10; - mclt 600; - split 128; + max-unacked-updates 10; load balance max seconds 3; } EOPP; + if($type == "primary") { + $dhcpdconf .= "mclt 600;\n"; + $dhcpdconf .= "split 128;\n"; + } $dhcpnum++; -- cgit v1.1