1
0
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:
Adam
2017-01-12 13:26:29 -05:00
parent 074bde5ccc
commit bdf4650ff8
+2 -2
View File
@@ -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;