From f82db9eda246a4fdbbb5dedcf729ddc2b9273f10 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 23 Feb 2005 05:14:16 +0000 Subject: Flush rules in the carp anchor before assigning rules in the plugin system --- packages/carp_rules.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages') diff --git a/packages/carp_rules.php b/packages/carp_rules.php index cca113c3..918e68ed 100644 --- a/packages/carp_rules.php +++ b/packages/carp_rules.php @@ -30,6 +30,8 @@ /* return if there are no carp configured items */ if(!$config['installedpackages']['carp']['config']) return; +mwexec("/sbin/pfctl -a carp -Fr"); + /* carp records exist, lets process */ $wan_interface = get_real_wan_interface(); foreach($config['installedpackages']['carp']['config'] as $carp) { -- cgit v1.2.3