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

Removed some TODOs according to #789.

Commit refs #789.
parent 73e52821
No related branches found
No related tags found
No related merge requests found
......@@ -24,10 +24,6 @@ static int acl_compare(void *k1, void *k2)
}
/* Port = 0 means any port match. */
/*! \todo Is key order interchangeable?
* Only stored keys should be able to have any port.
* k1 must be stored key and k2 has to be seeked key.
*/
if (a1->addr4.sin_port == 0) {
return 0;
}
......
......@@ -2005,7 +2005,6 @@ DEBUG_NS(
);
// Check xfr-out ACL
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_REFUSED);
return KNOT_EOK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment