summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/interfaces.inc5
-rw-r--r--usr/local/pkg/carp_settings.xml12
2 files changed, 1 insertions, 16 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 228ee40..b9f10bd 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -371,10 +371,7 @@ function interfaces_carp_configure() {
foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
if($carp['pfsyncenabled'] != "") {
mwexec("/sbin/sysctl net.inet.carp.allow=1");
- if($debugging)
- echo "Enabling preempt\n";
- if($carp['premption'] != "")
- mwexec("/sbin/sysctl net.inet.carp.preempt=1");
+ mwexec("/sbin/sysctl net.inet.carp.preempt=1");
if($carp['balancing'] != "")
mwexec("/sbin/sysctl net.inet.carp.arpbalance=1");
if($debugging)
diff --git a/usr/local/pkg/carp_settings.xml b/usr/local/pkg/carp_settings.xml
index d4fc9d6..791e78e 100644
--- a/usr/local/pkg/carp_settings.xml
+++ b/usr/local/pkg/carp_settings.xml
@@ -48,11 +48,6 @@
<fieldname>balancing</fieldname>
<type>checkbox</type>
</columnitem>
- <columnitem>
- <fielddescr>Preemption</fielddescr>
- <fieldname>premption</fieldname>
- <type>checkbox</type>
- </columnitem>
</adddeleteeditpagefields>
<!-- fields gets invoked when the user adds or edits a item. the following items
will be parsed and rendered for the user as a gui with input, and selectboxes. -->
@@ -85,13 +80,6 @@
<type>checkbox</type>
</field>
<field>
- <fielddescr>Preemption</fielddescr>
- <fieldname>premption</fieldname>
- <description>When preemption is enabled, each CARP host will look at the advskew (Advertising Frequency) parameter in the advertisements it receives from the master, to try to determine whether it can advertise more frequently. If so, it will begin advertising, and the current master, seeing that there is another host with a lower advskew, will bow out.</description>
- <type>checkbox</type>
- <value>true</value>
- </field>
- <field>
<fielddescr>Synchronize rules</fielddescr>
<fieldname>synchronizerules</fieldname>
<description>When this option is enabled, this system will automatically sync the firewalls rules over to the other carp when changes are made..</description>
OpenPOWER on IntegriCloud