diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-22 20:35:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-22 20:35:29 +0000 |
commit | bc5af66d914e1cf83733e17b9a2cc415ed976e03 (patch) | |
tree | 78425906644c8289caa93afde998df13b3ca569c | |
parent | e9dcb9720509d98fcee630c389ecfffd46685117 (diff) | |
download | pfsense-bc5af66d914e1cf83733e17b9a2cc415ed976e03.zip pfsense-bc5af66d914e1cf83733e17b9a2cc415ed976e03.tar.gz |
Only setup mclt and split for primary node
-rw-r--r-- | etc/inc/services.inc | 8 |
1 files 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++; |