aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-10 22:50:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-10 22:50:46 +0000
commit318c82a0d171043c4a32c4ac841049abdd3d87bc (patch)
tree97ca39ebbfd772756cae05e6fde0eaf0e5cf2b4d /packages/carp.xml
parent0c145bd9eacca7359504436d1d69b0b044051495 (diff)
downloadpfsense-packages-318c82a0d171043c4a32c4ac841049abdd3d87bc.tar.gz
pfsense-packages-318c82a0d171043c4a32c4ac841049abdd3d87bc.tar.bz2
pfsense-packages-318c82a0d171043c4a32c4ac841049abdd3d87bc.zip
Remove bogus record setting code and use regular + - method
Diffstat (limited to 'packages/carp.xml')
-rw-r--r--packages/carp.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index 20f9b869..995df321 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -236,8 +236,8 @@
/*
* user has selected pfsync, bring it up.
*/
- $carp_sync_int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['carpsettings']['config']['pfsyncinterface']);
- $carp_sync_ip = $config['installedpackages']['carpsettings']['config']['pfsyncip'];
+ $carp_sync_int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['package']['carpsettings']['config']['pfsyncinterface']);
+ $carp_sync_ip = $config['installedpackages']['package']['carpsettings']['config']['pfsyncip'];
fwrite($fout, "/sbin/ifconfig pfsync0 create\n");
fwrite($fout, "/sbin/ifconfig pfsync0 {$carp_sync_ip}/24\n");
fwrite($fout, "/sbin/ifconfig pfsync0 up syncif " . carp_sync_ip . "\n");
@@ -245,9 +245,9 @@
}
$using_arp_balance = 0;
$preempt = 0;
- if($config['installedpackages']['carpsettings']['premption'] != "")
+ if($config['installedpackages']['package']['carpsettings']['premption'] != "")
$preempt = 1;
- if($config['installedpackages']['carpsettings']['balancing'] != "")
+ if($config['installedpackages']['package']['carpsettings']['balancing'] != "")
$using_arp_balance = 1;
fwrite($fout, "/etc/rc.filter_configure");
fclose($fout);