Merge branch '4520-log-message-in-lib-ns-update-c-needs-updating-bind-9.18' into 'bind-9.18'

[9.18] Resolve "Log message in lib/ns/update.c needs updating"

See merge request isc-projects/bind9!8647
This commit is contained in:
Mark Andrews
2024-01-12 15:51:58 +00:00

View File

@@ -3403,11 +3403,18 @@ update_action(isc_task_t *task, isc_event_t *event) {
FAIL(r);
}
if (inuse) {
char typebuf
[DNS_RDATATYPE_FORMATSIZE];
dns_rdatatype_format(
rdata.type, typebuf,
sizeof(typebuf));
update_log(client, zone,
LOGLEVEL_PROTOCOL,
"attempt to "
"delete in use "
"DNSKEY ignored");
"%s ignored",
typebuf);
continue;
}
}