aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {