aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_rules.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-26 19:42:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-26 19:42:14 +0000
commit23170e14521ebbbccc8c9041ed43587d530da3c8 (patch)
tree0d267249f15362734a7b4b0a822ffc1e3a4b2bf2 /packages/carp_rules.php
parent5b1afa7f293c7c4fa379c45c639721f686590a7e (diff)
downloadpfsense-packages-23170e14521ebbbccc8c9041ed43587d530da3c8.tar.gz
pfsense-packages-23170e14521ebbbccc8c9041ed43587d530da3c8.tar.bz2
pfsense-packages-23170e14521ebbbccc8c9041ed43587d530da3c8.zip
Correct the test if $config['installedpackages']['carpsettings']['config'] exists.
Diffstat (limited to 'packages/carp_rules.php')
-rw-r--r--packages/carp_rules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/carp_rules.php b/packages/carp_rules.php
index 15358bd5..c1987b0a 100644
--- a/packages/carp_rules.php
+++ b/packages/carp_rules.php
@@ -55,7 +55,7 @@ if($config['installedpackages']['carp']['config'] != "") {
}
}
add_rule_to_anchor("carp", "pass quick on pfsync0 keep state", "pfsync0" . "3");
- if($config['installedpackages']['carp']['config'] != "")
+ if($config['installedpackages']['carpsettings']['config'] != "")
foreach($config['installedpackages']['carpsettings']['config'] as $carp)
$carp_sync_int = convert_friendly_interface_to_real_interface_name($carp['pfsyncinterface']);
if($carp_sync_int != "") {