aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_passlist.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/suricata/suricata_passlist.php')
-rw-r--r--config/suricata/suricata_passlist.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/suricata/suricata_passlist.php b/config/suricata/suricata_passlist.php
index 02aa4a3d..cdfd98e8 100644
--- a/config/suricata/suricata_passlist.php
+++ b/config/suricata/suricata_passlist.php
@@ -87,7 +87,9 @@ if ($_POST['del'] && is_numericint($_POST['list_id'])) {
if (!$input_errors) {
unset($a_passlist[$_POST['list_id']]);
write_config("Suricata pkg: deleted PASS LIST.");
+ conf_mount_rw();
sync_suricata_package_config();
+ conf_mount_ro();
header("Location: /suricata/suricata_passlist.php");
exit;
}