aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_migrate_config.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-08-11 19:52:11 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2015-08-11 19:52:11 -0400
commit1424f3c70d34e58543de64840d708f88e5cb8379 (patch)
treed68c7c44509ad3482c5faa3fb79cbc8a81f9b024 /config/snort/snort_migrate_config.php
parent748a08538b18e620b5dbd0d51f027a1f0896f4ec (diff)
downloadpfsense-packages-1424f3c70d34e58543de64840d708f88e5cb8379.tar.gz
pfsense-packages-1424f3c70d34e58543de64840d708f88e5cb8379.tar.bz2
pfsense-packages-1424f3c70d34e58543de64840d708f88e5cb8379.zip
Simplify future updates by removing hard-coded version strings.
Diffstat (limited to 'config/snort/snort_migrate_config.php')
-rw-r--r--config/snort/snort_migrate_config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php
index ae1daf6a..edcbb2d5 100644
--- a/config/snort/snort_migrate_config.php
+++ b/config/snort/snort_migrate_config.php
@@ -541,10 +541,10 @@ unset($r);
// Log a message if we changed anything
if ($updated_cfg) {
- $config['installedpackages']['snortglobal']['snort_config_ver'] = "3.2.6";
log_error("[Snort] Settings successfully migrated to new configuration format...");
}
-else
+else {
log_error("[Snort] Configuration version is current...");
+}
?>