Commit a89efd15 authored by Daniel Salzman's avatar Daniel Salzman

nameserver: increase log severity for invalid answer notify tsig

parent 8ee6f3f8
......@@ -46,7 +46,7 @@
#define NOTIFY_QLOG(severity, msg...) \
QUERY_LOG(severity, qdata, "NOTIFY", msg)
int notify_check_query(struct query_data *qdata)
static int notify_check_query(struct query_data *qdata)
{
/* RFC1996 requires SOA question. */
NS_NEED_QTYPE(qdata, KNOT_RRTYPE_SOA, KNOT_RCODE_FORMERR);
......
......@@ -112,7 +112,7 @@ static int process_answer(knot_pkt_t *pkt, knot_process_t *ctx)
/* Verify incoming packet. */
int ret = tsig_verify_packet(&data->param->tsig_ctx, pkt);
if (ret != KNOT_EOK) {
ANSWER_LOG(LOG_INFO, data, "Response", "%s", knot_strerror(ret));
ANSWER_LOG(LOG_WARNING, data, "Response", "%s", knot_strerror(ret));
return NS_PROC_FAIL;
}
......
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