aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_ip_reputation.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-07-22 21:32:13 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2015-07-22 21:32:13 -0400
commit066ca0c244b349aff2dea6bf8d896bd6c83febbc (patch)
tree87e6d4b8db7bb4ccf454f0d0df5f972d556fad3f /config/suricata/suricata_ip_reputation.php
parent2949fe14d062e3a5082bb4fa4c42e973103ba472 (diff)
downloadpfsense-packages-066ca0c244b349aff2dea6bf8d896bd6c83febbc.tar.gz
pfsense-packages-066ca0c244b349aff2dea6bf8d896bd6c83febbc.tar.bz2
pfsense-packages-066ca0c244b349aff2dea6bf8d896bd6c83febbc.zip
Sync IPREP IP List files with CARP replication partners.
Diffstat (limited to 'config/suricata/suricata_ip_reputation.php')
-rw-r--r--config/suricata/suricata_ip_reputation.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/suricata/suricata_ip_reputation.php b/config/suricata/suricata_ip_reputation.php
index d9d45a5f..953b167c 100644
--- a/config/suricata/suricata_ip_reputation.php
+++ b/config/suricata/suricata_ip_reputation.php
@@ -163,6 +163,9 @@ if ($_POST['save'] || $_POST['apply']) {
// Soft-restart Suricata to live-load new variables
suricata_reload_config($a_nat[$id]);
+ // Sync to configured CARP slaves if any are enabled
+ suricata_sync_on_changes();
+
// We have saved changes and done a soft restart, so clear "dirty" flag
clear_subsystem_dirty('suricata_iprep');
}