mirror of
https://github.com/anope/anope.git
synced 2026-06-30 00:56:37 +02:00
m_dnsbl: widen allowed reply range to 127.0.0.0/8
This commit is contained in:
+2
-2
@@ -56,8 +56,8 @@ class DNSBLResolver : public Request
|
||||
return;
|
||||
|
||||
const ResourceRecord &ans_record = record->answers[0];
|
||||
// Replies should be in 127.0.0.0/24
|
||||
if (ans_record.rdata.find("127.0.0.") != 0)
|
||||
// Replies should be in 127.0.0.0/8
|
||||
if (ans_record.rdata.find("127.") != 0)
|
||||
return;
|
||||
|
||||
sockaddrs sresult;
|
||||
|
||||
Reference in New Issue
Block a user