m_dnsbl: Add the IP address to the positive detection server notice.

This commit is contained in:
Robby 2018-09-25 23:35:55 +02:00 committed by Peter Powell
parent 0c469cd479
commit 1e33c494bb

View File

@ -200,8 +200,8 @@ class DNSBLResolver : public DNS::Request
break;
}
ServerInstance->SNO->WriteGlobalSno('d', "Connecting user %s detected as being on the '%s' DNS blacklist with result %d",
them->GetFullRealHost().c_str(), ConfEntry->name.c_str(), (ConfEntry->type==DNSBLConfEntry::A_BITMASK) ? bitmask : record);
ServerInstance->SNO->WriteGlobalSno('d', "Connecting user %s (%s) detected as being on the '%s' DNS blacklist with result %d",
them->GetFullRealHost().c_str(), them->GetIPString().c_str(), ConfEntry->name.c_str(), (ConfEntry->type==DNSBLConfEntry::A_BITMASK) ? bitmask : record);
}
else
ConfEntry->stats_misses++;