aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_ip_reputation.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort/snort_ip_reputation.php')
-rw-r--r--config/snort/snort_ip_reputation.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort/snort_ip_reputation.php b/config/snort/snort_ip_reputation.php
index 3de8c661..c3536e89 100644
--- a/config/snort/snort_ip_reputation.php
+++ b/config/snort/snort_ip_reputation.php
@@ -162,7 +162,9 @@ if ($_POST['save'] || $_POST['apply']) {
// Update the snort conf file for this interface
$rebuild_rules = false;
+ conf_mount_rw();
snort_generate_conf($a_nat[$id]);
+ conf_mount_ro();
// Soft-restart Snort to live-load new variables
snort_reload_config($a_nat[$id]);