aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_generate_yaml.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-03-19 17:18:10 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-03-19 17:18:10 -0400
commitaaf96eff48c83f572d4c21406cd89d0758afdde1 (patch)
tree33a1dee6c01f035911a587fbc0b4a155e0931fcf /config/suricata/suricata_generate_yaml.php
parent238f63d6c686453f808c301dd2bc6c2a8699d850 (diff)
downloadpfsense-packages-aaf96eff48c83f572d4c21406cd89d0758afdde1.tar.gz
pfsense-packages-aaf96eff48c83f572d4c21406cd89d0758afdde1.tar.bz2
pfsense-packages-aaf96eff48c83f572d4c21406cd89d0758afdde1.zip
Include new log limit features for Unified2 logging.
Diffstat (limited to 'config/suricata/suricata_generate_yaml.php')
-rw-r--r--config/suricata/suricata_generate_yaml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php
index 115f0045..0e348631 100644
--- a/config/suricata/suricata_generate_yaml.php
+++ b/config/suricata/suricata_generate_yaml.php
@@ -226,8 +226,8 @@ if ($suricatacfg['barnyard_enable'] == 'on')
else
$barnyard2_enabled = "no";
-if (isset($suricatacfg['unified2_log_limit']))
- $unified2_log_limit = "{$suricatacfg['unified2_log_limit']}mb";
+if (isset($config['installedpackages']['suricata']['config'][0]['unified2_log_limit']))
+ $unified2_log_limit = "{$config['installedpackages']['suricata']['config'][0]['unified2_log_limit']}mb";
else
$unified2_log_limit = "32mb";