handle unknown Zen Spamhaus results
This commit is contained in:
parent
68939b7ee0
commit
5c1942a35a
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ class ZenSpamhaus(DNSBL):
|
||||||
desc = "spam"
|
desc = "spam"
|
||||||
elif result in ["4", "5", "6", "7"]:
|
elif result in ["4", "5", "6", "7"]:
|
||||||
desc = "exploits"
|
desc = "exploits"
|
||||||
|
else:
|
||||||
|
desc = "unknown"
|
||||||
return f"{result} - {desc}"
|
return f"{result} - {desc}"
|
||||||
|
|
||||||
class EFNetRBL(DNSBL):
|
class EFNetRBL(DNSBL):
|
||||||
|
|
Loading…
Reference in a new issue