Skip to content
Snippets Groups Projects
Commit 72384764 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Revert "nameserver: send REFUSED rcode if not authenticated"

This reverts commit 920f9b0f.
parent 2fccacb0
No related branches found
No related tags found
No related merge requests found
......@@ -117,11 +117,9 @@ int ns_put_rr(knot_pkt_t *pkt, const knot_rrset_t *rr,
/*! \brief Require authentication. */
#define NS_NEED_AUTH(qdata, zone_name, action) \
if (!process_query_acl_check(conf(), (zone_name), (action), (qdata))) { \
qdata->rcode = KNOT_RCODE_REFUSED; \
return KNOT_STATE_FAIL; \
} else { \
if (process_query_verify(qdata) != KNOT_EOK) { \
qdata->rcode = KNOT_RCODE_REFUSED; \
return KNOT_STATE_FAIL; \
} \
}
......
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