aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--packages/carp.xml8
-rw-r--r--packages/carp_settings.xml2
2 files changed, 5 insertions, 5 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);
diff --git a/packages/carp_settings.xml b/packages/carp_settings.xml
index c956b60a..1f717fa0 100644
--- a/packages/carp_settings.xml
+++ b/packages/carp_settings.xml
@@ -17,7 +17,7 @@
<tabs>
<tab>
<text>CARP Virtual IPs</text>
- <xml>carp.xml</xml>
+ <url>/pkg.php?xml=carp.xml</url>
</tab>
<tab>
<text>CARP Status</text>