diff options
author | Ermal Luçi <eri@pfsense.org> | 2014-01-13 08:10:21 -0800 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2014-01-13 08:10:21 -0800 |
commit | ebef25e662806d7a05a91012553d3b0ffb406fb6 (patch) | |
tree | 357bc9cf44654cf1ac366e9244f28d2b8a014b9f /config/snort/snort_blocked.php | |
parent | 13d9babd775498cf1e3b796e07030e946e1cb12a (diff) | |
parent | af4460ff3f18dff763e0a493ac71be37dd814435 (diff) | |
download | pfsense-packages-ebef25e662806d7a05a91012553d3b0ffb406fb6.tar.gz pfsense-packages-ebef25e662806d7a05a91012553d3b0ffb406fb6.tar.bz2 pfsense-packages-ebef25e662806d7a05a91012553d3b0ffb406fb6.zip |
Merge pull request #572 from bmeeks8/master
Incorporate Ermal's comments -- use conf_mount_rw() only where needed.
Diffstat (limited to 'config/snort/snort_blocked.php')
-rw-r--r-- | config/snort/snort_blocked.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index 95109660..8d106a90 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -63,7 +63,6 @@ if ($_POST['remove']) { /* TODO: build a file with block ip and disc */ if ($_POST['download']) { - conf_mount_rw(); $blocked_ips_array_save = ""; exec('/sbin/pfctl -t snort2c -T show', $blocked_ips_array_save); /* build the list */ @@ -105,8 +104,6 @@ if ($_POST['download']) $savemsg = gettext("An error occurred while creating archive"); } else $savemsg = gettext("No content on snort block list"); - - conf_mount_ro(); } if ($_POST['save']) |