Skip to content
Snippets Groups Projects
Commit 57000b30 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Removed debug message.

Commit refs #789.
parent c66565a1
Branches
Tags
No related merge requests found
......@@ -2004,16 +2004,16 @@ DEBUG_NS(
free(name_str2);
);
// Check xfr-out ACL
char *nstr = dnslib_dname_to_str(qname);
if (acl_match(zone->acl.xfr_out, &xfr->from) == ACL_DENY) {
/*! \todo What should we return here? */
debug_ns("Request for AXFR OUT is not authorized.\n");
dnslib_response_set_rcode(xfr->response, DNSLIB_RCODE_NOTAUTH);
return KNOT_EOK;
} else {
fprintf(stderr, "xfr request is authorized for zone %s\n",
nstr);
debug_ns("Authorized AXFR OUT request.\n");
}
return ns_axfr_from_zone(zone, xfr);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment