From 23170e14521ebbbccc8c9041ed43587d530da3c8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 26 Apr 2005 19:42:14 +0000 Subject: Correct the test if $config['installedpackages']['carpsettings']['config'] exists. --- packages/carp_rules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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 != "") { -- cgit v1.2.3