diff options
author | Ermal <eri@pfsense.org> | 2011-09-29 22:53:27 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-09-29 22:53:27 +0000 |
commit | 4763db0d8ca282fc0e3d0165ba9804fae2e7aefe (patch) | |
tree | aa6618d5a5d6c95c80f66771e28bafe319e5a72d /config/snort/snort.inc | |
parent | 18c9901c7c94a52b417c66fde315aa13aa0e7abc (diff) | |
download | pfsense-packages-4763db0d8ca282fc0e3d0165ba9804fae2e7aefe.tar.gz pfsense-packages-4763db0d8ca282fc0e3d0165ba9804fae2e7aefe.tar.bz2 pfsense-packages-4763db0d8ca282fc0e3d0165ba9804fae2e7aefe.zip |
Correct clearing the alerts.
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index f27bb383..2973a409 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -473,7 +473,7 @@ function post_delete_logs() //create_barnyard2_conf($id, $if_real, $snort_uuid); if ($value['perform_stat'] == 'on') - file_put_contents("/var/log/snort/snort_{$snort_uuid}_{$if_real}.stats", ""); + @file_put_contents("/var/log/snort/snort_{$snort_uuid}_{$if_real}.stats", ""); } } } |