mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 09:06:51 -04:00
conform to dns_rootns_create() API change
This commit is contained in:
parent
42d6e0a1b8
commit
e592dd7c34
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ create_view(isc_mem_t *mctx)
|
|||
goto out;
|
||||
|
||||
rootdb = NULL;
|
||||
result = dns_rootns_create(mctx, &rootdb);
|
||||
result = dns_rootns_create(mctx, dns_rdataclass_in, NULL, &rootdb);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto out;
|
||||
dns_view_sethints(view, rootdb);
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ create_view(void)
|
|||
check_result(result, "dns_view_createresolver()");
|
||||
|
||||
rootdb = NULL;
|
||||
result = dns_rootns_create(mctx, &rootdb);
|
||||
result = dns_rootns_create(mctx, dns_rdataclass_in, NULL, &rootdb);
|
||||
check_result(result, "dns_rootns_create()");
|
||||
dns_view_sethints(view, rootdb);
|
||||
dns_db_detach(&rootdb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue