aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_define_vars.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-07 17:57:15 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-09-07 17:57:15 -0400
commit1d9c1cc8e530352168b97fd8b9c552c2588b67f4 (patch)
tree4ddf526d573bc142104325a91ccfcdd11e3d73f8 /config/suricata/suricata_define_vars.php
parente1be647aab970954f0c1312d3579c1e312add9ba (diff)
downloadpfsense-packages-1d9c1cc8e530352168b97fd8b9c552c2588b67f4.tar.gz
pfsense-packages-1d9c1cc8e530352168b97fd8b9c552c2588b67f4.tar.bz2
pfsense-packages-1d9c1cc8e530352168b97fd8b9c552c2588b67f4.zip
Sync some changes to CARP slaves when enabled.
Diffstat (limited to 'config/suricata/suricata_define_vars.php')
-rw-r--r--config/suricata/suricata_define_vars.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/suricata/suricata_define_vars.php b/config/suricata/suricata_define_vars.php
index 3fe5de0d..040244b0 100644
--- a/config/suricata/suricata_define_vars.php
+++ b/config/suricata/suricata_define_vars.php
@@ -135,6 +135,9 @@ if ($_POST) {
/* Soft-restart Suricaa to live-load new variables. */
suricata_reload_config($a_nat[$id]);
+ /* Sync to configured CARP slaves if any are enabled */
+ suricata_sync_on_changes();
+
/* after click go to this page */
header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );