Commit 9f4b363d authored by Daniel Salzman's avatar Daniel Salzman

acl: log general server issues as error

parent 2dc89bb7
......@@ -653,7 +653,10 @@ int process_query_verify(knotd_qdata_t *qdata)
}
/* Log possible error. */
if (qdata->rcode != KNOT_RCODE_NOERROR) {
if (qdata->rcode == KNOT_RCODE_SERVFAIL) {
log_zone_error(qdata->extra->zone->name,
"TSIG, verification failed (%s)", knot_strerror(ret));
} else if (qdata->rcode != KNOT_RCODE_NOERROR) {
const knot_lookup_t *item = NULL;
if (qdata->rcode_tsig != KNOT_RCODE_NOERROR) {
item = knot_lookup_by_id(knot_tsig_rcode_names, qdata->rcode_tsig);
......
Markdown is supported
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