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

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

Closes #4520

See merge request isc-projects/bind9!8622
This commit is contained in:
Mark Andrews
2024-01-12 14:53:39 +00:00

View File

@@ -3261,11 +3261,18 @@ update_action(void *arg) {
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;
}
}