authd: Don't reveal to users how many DNSBLs are configured
This commit is contained in:
parent
e658268b22
commit
bc89b788fa
1 changed files with 2 additions and 4 deletions
|
@ -264,8 +264,7 @@ dnsbl_dns_callback(const char *result, bool status, query_type type, void *data)
|
||||||
if(!rb_dlink_list_length(&bluser->queries))
|
if(!rb_dlink_list_length(&bluser->queries))
|
||||||
{
|
{
|
||||||
/* Done here */
|
/* Done here */
|
||||||
notice_client(auth->cid, "*** No DNSBL entr%s found for this IP",
|
notice_client(auth->cid, "*** No DNSBL entry found for this IP");
|
||||||
rb_dlink_list_length(&dnsbl_list) > 1 ? "ies" : "y");
|
|
||||||
rb_free(bluser);
|
rb_free(bluser);
|
||||||
set_provider_data(auth, SELF_PID, NULL);
|
set_provider_data(auth, SELF_PID, NULL);
|
||||||
set_provider_timeout_absolute(auth, SELF_PID, 0);
|
set_provider_timeout_absolute(auth, SELF_PID, 0);
|
||||||
|
@ -317,8 +316,7 @@ lookup_all_dnsbls(struct auth_client *auth)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
bluser->started = true;
|
bluser->started = true;
|
||||||
notice_client(auth->cid, "*** Checking your IP against DNSBL%s",
|
notice_client(auth->cid, "*** Checking your IP against DNSBLs");
|
||||||
rb_dlink_list_length(&dnsbl_list) > 1 ? "s" : "");
|
|
||||||
|
|
||||||
RB_DLINK_FOREACH(ptr, dnsbl_list.head)
|
RB_DLINK_FOREACH(ptr, dnsbl_list.head)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue