summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-01-21 16:38:14 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-01-21 16:40:55 -0200
commit505d5c7a5fda8e445c86fb7662be64304475f230 (patch)
tree5a831776c7449a97803505ac826c0707b39083bf
parent43045948c8de6758d72e02d4251ae4d143c9e934 (diff)
downloadpfsense-505d5c7a5fda8e445c86fb7662be64304475f230.zip
pfsense-505d5c7a5fda8e445c86fb7662be64304475f230.tar.gz
Fix typo on variable name
-rw-r--r--etc/inc/interfaces.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index f4456c7..940915c 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1892,16 +1892,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
OpenPOWER on IntegriCloud