diff options
author | Renato Botelho <garga@pfSense.org> | 2014-03-25 21:23:38 -0300 |
---|---|---|
committer | Renato Botelho <garga@pfSense.org> | 2014-03-25 21:23:38 -0300 |
commit | 13475835caf9ed181e38e486023f63a699fc0285 (patch) | |
tree | e5964a86976a2e86acf4ca497c08ab66ac09c04a /config/suricata/suricata_check_cron_misc.inc | |
parent | 9f5f66618e89aa3324bb138a3720f56090d6a143 (diff) | |
parent | f6caa0b6863df8111d34273f2d4b0d3b9d86f9e3 (diff) | |
download | pfsense-packages-13475835caf9ed181e38e486023f63a699fc0285.tar.gz pfsense-packages-13475835caf9ed181e38e486023f63a699fc0285.tar.bz2 pfsense-packages-13475835caf9ed181e38e486023f63a699fc0285.zip |
Merge pull request #632 from bmeeks8/master
Suricata 1.4.6 pkg. v0.3-BETA -- bug fixes
Diffstat (limited to 'config/suricata/suricata_check_cron_misc.inc')
-rw-r--r-- | config/suricata/suricata_check_cron_misc.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/suricata/suricata_check_cron_misc.inc b/config/suricata/suricata_check_cron_misc.inc index 25e8bb8a..b9ba3fb7 100644 --- a/config/suricata/suricata_check_cron_misc.inc +++ b/config/suricata/suricata_check_cron_misc.inc @@ -30,6 +30,8 @@ require_once("/usr/local/pkg/suricata/suricata.inc"); +global $g, $config; + function suricata_check_dir_size_limit($suricataloglimitsize) { /******************************************************** @@ -41,6 +43,8 @@ function suricata_check_dir_size_limit($suricataloglimitsize) { * On Entry: $surictaaloglimitsize = dir size limit * * in megabytes * ********************************************************/ + + global $config; // Convert Log Limit Size setting from MB to KB $suricataloglimitsizeKB = round($suricataloglimitsize * 1024); |