Commit eec246a5 authored by Daniel Salzman's avatar Daniel Salzman

Merge branch 'fix_notify_errlog' into 'master'

notify: fixed logging in case of error

See merge request !989
parents 54a151ec bc36bddb
......@@ -107,7 +107,7 @@ static int send_notify(conf_t *conf, zone_t *zone, const knot_rrset_t *soa,
int ret = knot_requestor_exec(&requestor, req, timeout);
if (ret == KNOT_EOK) {
if (ret == KNOT_EOK && knot_pkt_ext_rcode(req->resp) == 0) {
NOTIFY_LOG(LOG_INFO, zone->name, dst,
"serial %u", knot_soa_serial(soa->rrs.rdata));
} else if (knot_pkt_ext_rcode(req->resp) == 0) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment