diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-08 21:11:44 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-08 21:11:44 -0400 |
commit | 6d1e6c31c7fcd7bb5d5dd48ff115ba8b09849164 (patch) | |
tree | ff008381ff4e58a7755728fd1fd48cf9ff60a7f2 /config/suricata/suricata_migrate_config.php | |
parent | 42d7efbec7932f35f99e6b35a2d191f959b4ac6a (diff) | |
download | pfsense-packages-6d1e6c31c7fcd7bb5d5dd48ff115ba8b09849164.tar.gz pfsense-packages-6d1e6c31c7fcd7bb5d5dd48ff115ba8b09849164.tar.bz2 pfsense-packages-6d1e6c31c7fcd7bb5d5dd48ff115ba8b09849164.zip |
Fix any duplicate UUIDs and 'dns-events.rules' entries in config.
Diffstat (limited to 'config/suricata/suricata_migrate_config.php')
-rw-r--r-- | config/suricata/suricata_migrate_config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_migrate_config.php b/config/suricata/suricata_migrate_config.php index ba13155b..3d6347ed 100644 --- a/config/suricata/suricata_migrate_config.php +++ b/config/suricata/suricata_migrate_config.php @@ -118,7 +118,7 @@ foreach ($rule as &$r) { /***********************************************************/ /* Add the new 'dns-events.rules' file to the rulesets. */ /***********************************************************/ - if (strpos("dns-events.rules", $pconfig['rulesets']) === FALSE) { + if (strpos($pconfig['rulesets'], "dns-events.rules") === FALSE) { $pconfig['rulesets'] = rtrim($pconfig['rulesets'], "||") . "||dns-events.rules"; $updated_cfg = true; } |