updater: enable fetching of RHEL 5 vulnerabilities (#217)

The RHEL updater currently ignores vulnerabilities for CentOS <= 5.
s the naming of the constant firstConsideredRHEL suggests it, it
should actually considers CentOS 5 and ignores CentOS < 5.

Fixes #215
This commit is contained in:
Quentin Machu 2016-07-15 17:54:47 +02:00
parent cc22bd284c
commit 643ddc0cb4

View File

@ -290,7 +290,7 @@ func toFeatureVersions(criteria criteria) []database.FeatureVersion {
}
}
if osVersion > firstConsideredRHEL {
if osVersion >= firstConsideredRHEL {
featureVersion.Feature.Namespace.Name = "centos" + ":" + strconv.Itoa(osVersion)
} else {
continue