aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort/snort_download_rules.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snort/snort_download_rules.php')
-rw-r--r--packages/snort/snort_download_rules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index 948b9f14..1bda5491 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -97,7 +97,7 @@ include("head.inc");
echo "<tr><td colspan='2'>You must obtain an oinkid from snort.com and set its value in the Snort settings tab in order to start the download process.</td></tr>";
} else {
/* get time stamps for comparison operations */
- $date1ts = strtotime($last_ruleset_download);
+ $date1ts = strtotime($last_update_date);
$date2ts = strtotime($last_ruleset_download);
/* is there a newer ruleset available? */
if($date1ts > $date2ts or !$last_ruleset_download)