aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-11-24 23:45:46 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:15:42 -0500
commit06c72562c805fc81701be9779686c26fcbc03320 (patch)
treec846df9d0cffa5032a8edbc5c865cfe49892370a /config
parentfdad6941cbab2bcc623b97fdb5f6b669e8b81c4a (diff)
downloadpfsense-packages-06c72562c805fc81701be9779686c26fcbc03320.tar.gz
pfsense-packages-06c72562c805fc81701be9779686c26fcbc03320.tar.bz2
pfsense-packages-06c72562c805fc81701be9779686c26fcbc03320.zip
Initialize string variable to empty before each use.
Diffstat (limited to 'config')
-rw-r--r--config/suricata/suricata_generate_yaml.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php
index 893c7775..704caa76 100644
--- a/config/suricata/suricata_generate_yaml.php
+++ b/config/suricata/suricata_generate_yaml.php
@@ -574,6 +574,7 @@ else {
// Add the HTTP Server-specific policies if configured, otherwise
// just set default to IDS for all networks.
+$http_hosts_policy = "";
$http_hosts_default_policy = "";
if (!is_array($suricatacfg['libhtp_policy']['item']))
$suricatacfg['libhtp_policy']['item'] = array();