aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_rules.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-23 05:14:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-23 05:14:16 +0000
commitf82db9eda246a4fdbbb5dedcf729ddc2b9273f10 (patch)
treebc89ec6fbb484e645f0aae8d1b9c6695e417938a /packages/carp_rules.php
parenteeb6a68f0dab9c0ae86a1cb6e9854e116e940bd4 (diff)
downloadpfsense-packages-f82db9eda246a4fdbbb5dedcf729ddc2b9273f10.tar.gz
pfsense-packages-f82db9eda246a4fdbbb5dedcf729ddc2b9273f10.tar.bz2
pfsense-packages-f82db9eda246a4fdbbb5dedcf729ddc2b9273f10.zip
Flush rules in the carp anchor before assigning rules in the plugin system
Diffstat (limited to 'packages/carp_rules.php')
-rw-r--r--packages/carp_rules.php2
1 files changed, 2 insertions, 0 deletions
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) {