Skip to content
Snippets Groups Projects
Commit dc2b0a3b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Clean-up the DNSBL checking function a little bit and its call site.

Always log (a notice-level log message) when there's a DNSBL match, along with
the address it actually resolved to (indicates which list the IP address was
found in).
No log message otherwise.

Note: resolve_ip() doesn't actually support IPv6 yet, so I don't think this
IPv6 address parsing/reformatting logic has actually been tested.
parent 18f76c95
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment