diff options
author | Ermal <eri@pfsense.org> | 2014-03-20 18:38:32 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-03-20 18:38:32 +0000 |
commit | a63e5eadefbbe0e9a6283d411ad1f583d8cf6d99 (patch) | |
tree | f27dd8b30a10d14513c6d953456d631165c5971a | |
parent | b58cb288a5e7f4b7b73d3285420f6f424dc52411 (diff) | |
download | pfsense-a63e5eadefbbe0e9a6283d411ad1f583d8cf6d99.zip pfsense-a63e5eadefbbe0e9a6283d411ad1f583d8cf6d99.tar.gz |
Remove balancing reference that does not exist anymore
-rw-r--r-- | etc/inc/interfaces.inc | 10 |
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 |