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_generate_yaml.php | |
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_generate_yaml.php')
-rw-r--r-- | config/suricata/suricata_generate_yaml.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php index 8e3e538c..04c22e46 100644 --- a/config/suricata/suricata_generate_yaml.php +++ b/config/suricata/suricata_generate_yaml.php @@ -705,15 +705,15 @@ else $http_parser_memcap = "67108864"; /* Configure the IP REP section */ -$iprep_path = rtrim(IPREP_PATH, '/'); +$iprep_path = rtrim(SURICATA_IPREP_PATH, '/'); // Create the rules files and save in the interface directory suricata_prepare_rule_files($suricatacfg, $suricatacfgdir); // Check and configure only non-empty rules files for the interface $rules_files = ""; -if (filesize("{$suricatacfgdir}/rules/".ENFORCING_RULES_FILENAME) > 0) - $rules_files .= ENFORCING_RULES_FILENAME; +if (filesize("{$suricatacfgdir}/rules/".SURICATA_ENFORCING_RULES_FILENAME) > 0) + $rules_files .= SURICATA_ENFORCING_RULES_FILENAME; if (filesize("{$suricatacfgdir}/rules/".FLOWBITS_FILENAME) > 0) $rules_files .= "\n - " . FLOWBITS_FILENAME; if (filesize("{$suricatacfgdir}/rules/custom.rules") > 0) |