mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
Pass a ttl to dns_buildnxt. Uses 3600 now, but better code could be copied
from signer.c if nxtify is ever going to be used.
This commit is contained in:
parent
201b17e55f
commit
683e95c97a
@ -87,7 +87,7 @@ active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) {
|
||||
* Make sure there is no NXT record for this node.
|
||||
*/
|
||||
result = dns_db_deleterdataset(db, node, version,
|
||||
dns_rdatatype_nxt);
|
||||
dns_rdatatype_nxt, 0);
|
||||
if (result == DNS_R_UNCHANGED)
|
||||
result = ISC_R_SUCCESS;
|
||||
check_result(result, "dns_db_deleterdataset");
|
||||
@ -177,7 +177,7 @@ nxtify(char *filename) {
|
||||
target = NULL; /* Make compiler happy. */
|
||||
fatal("db iteration failed");
|
||||
}
|
||||
dns_buildnxt(db, wversion, node, target);
|
||||
dns_buildnxt(db, wversion, node, target, 3600); /* XXX BEW */
|
||||
dns_db_detachnode(db, &node);
|
||||
node = nextnode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user