Show Not Fixed Yet in report, tui

This commit is contained in:
kota kanbe
2017-08-19 00:21:11 +09:00
parent 648a999514
commit 93f741da35
4 changed files with 13 additions and 15 deletions

View File

@@ -219,7 +219,7 @@ No CVE-IDs are found in updatable packages.
vuln.AffectedPackages.Sort()
for _, affected := range vuln.AffectedPackages {
if pack, ok := r.Packages[affected.Name]; ok {
packsVer = append(packsVer, pack.FormatVersionFromTo())
packsVer = append(packsVer, pack.FormatVersionFromTo(affected.NotFixedYet))
}
}
sort.Strings(vuln.CpeNames)