analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero
This commit is contained in:
parent
3161e392e8
commit
369a13526f
5 changed files with 15 additions and 17 deletions
|
|
@ -318,7 +318,7 @@ func (r *DNSListChecker) CalculateScore(results *DNSListResults, forWhitelist bo
|
|||
return 100, ""
|
||||
}
|
||||
|
||||
if results.ListedCount <= 0 {
|
||||
if results.ListedCount <= 0 || scoringListCount <= 0 {
|
||||
return 100, "A+"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue