aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/suricata/suricata_check_cron_misc.inc4
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);