diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-23 05:14:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-23 05:14:16 +0000 |
commit | f82db9eda246a4fdbbb5dedcf729ddc2b9273f10 (patch) | |
tree | bc89ec6fbb484e645f0aae8d1b9c6695e417938a | |
parent | eeb6a68f0dab9c0ae86a1cb6e9854e116e940bd4 (diff) | |
download | pfsense-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
-rw-r--r-- | packages/carp_rules.php | 2 |
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) { |