summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-20 18:38:32 +0000
committerErmal <eri@pfsense.org>2014-03-20 18:38:32 +0000
commita63e5eadefbbe0e9a6283d411ad1f583d8cf6d99 (patch)
treef27dd8b30a10d14513c6d953456d631165c5971a /etc
parentb58cb288a5e7f4b7b73d3285420f6f424dc52411 (diff)
downloadpfsense-a63e5eadefbbe0e9a6283d411ad1f583d8cf6d99.zip
pfsense-a63e5eadefbbe0e9a6283d411ad1f583d8cf6d99.tar.gz
Remove balancing reference that does not exist anymore
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index df452b7..90dcf10 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1916,22 +1916,16 @@ function interfaces_carp_setup() {
/* suck in configuration items */
if ($config['hasync']) {
$pfsyncenabled = $config['hasync']['pfsyncenabled'];
- $balancing = $config['hasync']['balancing'];
$pfsyncinterface = $config['hasync']['pfsyncinterface'];
$pfsyncpeerip = $config['hasync']['pfsyncpeerip'];
} else {
unset($pfsyncinterface);
- unset($balancing);
unset($pfsyncenabled);
}
- if ($balancing) {
- mwexec("/sbin/sysctl net.inet.carp.arpbalance=1", true);
- mwexec("/sbin/sysctl net.inet.carp.preempt=0", true);
- } else
- mwexec("/sbin/sysctl net.inet.carp.preempt=1", true);
+ mwexec("/sbin/sysctl net.inet.carp.preempt=1", true);
+ mwexec("/sbin/sysctl net.inet.carp.log=1", true);
- mwexec("sbin/sysctl net.inet.carp.log=1", true);
if (!empty($pfsyncinterface))
$carp_sync_int = get_real_interface($pfsyncinterface);
else
OpenPOWER on IntegriCloud