mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix typo on variable name
This commit is contained in:
parent
d9797fd60a
commit
613a94b31b
@ -1897,16 +1897,16 @@ function interfaces_carp_setup() {
|
||||
/* suck in configuration items */
|
||||
if ($config['hasync']) {
|
||||
$pfsyncenabled = $config['hasync']['pfsyncenabled'];
|
||||
$balanacing = $config['hasync']['balancing'];
|
||||
$balancing = $config['hasync']['balancing'];
|
||||
$pfsyncinterface = $config['hasync']['pfsyncinterface'];
|
||||
$pfsyncpeerip = $config['hasync']['pfsyncpeerip'];
|
||||
} else {
|
||||
unset($pfsyncinterface);
|
||||
unset($balanacing);
|
||||
unset($balancing);
|
||||
unset($pfsyncenabled);
|
||||
}
|
||||
|
||||
if ($balanacing) {
|
||||
if ($balancing) {
|
||||
mwexec("/sbin/sysctl net.inet.carp.arpbalance=1", true);
|
||||
mwexec("/sbin/sysctl net.inet.carp.preempt=0", true);
|
||||
} else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user