diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-20 16:35:40 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-15 12:04:34 -0500 |
commit | d2600c88e6720a1f6f2dad74bbe8dac60b435d97 (patch) | |
tree | 462477383f8000ec544dd9fe0842d29bef61c101 /config/suricata/suricata_check_cron_misc.inc | |
parent | 9c33543db52aea06e01d4289a55fe9522a40327c (diff) | |
download | pfsense-packages-d2600c88e6720a1f6f2dad74bbe8dac60b435d97.tar.gz pfsense-packages-d2600c88e6720a1f6f2dad74bbe8dac60b435d97.tar.bz2 pfsense-packages-d2600c88e6720a1f6f2dad74bbe8dac60b435d97.zip |
Ensure defined CONSTANTS are unique to this package.
Diffstat (limited to 'config/suricata/suricata_check_cron_misc.inc')
-rw-r--r-- | config/suricata/suricata_check_cron_misc.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_check_cron_misc.inc b/config/suricata/suricata_check_cron_misc.inc index 70394a23..901ee88b 100644 --- a/config/suricata/suricata_check_cron_misc.inc +++ b/config/suricata/suricata_check_cron_misc.inc @@ -66,9 +66,9 @@ function suricata_check_dir_size_limit($suricataloglimitsize) { conf_mount_rw(); // Truncate the Rules Update Log file if it exists - if (file_exists(RULES_UPD_LOGFILE)) { + if (file_exists(SURICATA_RULES_UPD_LOGFILE)) { log_error(gettext("[Suricata] Truncating the Rules Update Log file...")); - @file_put_contents(RULES_UPD_LOGFILE, ""); + @file_put_contents(SURICATA_RULES_UPD_LOGFILE, ""); } // Initialize an array of the log files we want to prune |