diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-11-24 23:45:46 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-15 12:15:42 -0500 |
commit | 06c72562c805fc81701be9779686c26fcbc03320 (patch) | |
tree | c846df9d0cffa5032a8edbc5c865cfe49892370a | |
parent | fdad6941cbab2bcc623b97fdb5f6b669e8b81c4a (diff) | |
download | pfsense-packages-06c72562c805fc81701be9779686c26fcbc03320.tar.gz pfsense-packages-06c72562c805fc81701be9779686c26fcbc03320.tar.bz2 pfsense-packages-06c72562c805fc81701be9779686c26fcbc03320.zip |
Initialize string variable to empty before each use.
-rw-r--r-- | config/suricata/suricata_generate_yaml.php | 1 |
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(); |