libdns refactoring: get rid of multiple versions of dns_dt_create, dns_view_setcache, dns_zt_apply, dns_message_logfmtpacket, dns_message_logpacket, dns_ssutable_checkrules and dns_ttl_totext

This commit is contained in:
Witold Kręcicki
2018-04-05 16:27:36 +02:00
parent d54d482af0
commit c8aa1ee9e6
27 changed files with 96 additions and 174 deletions

View File

@@ -205,7 +205,7 @@ main(int argc, char *argv[]) {
== ISC_R_SUCCESS);
}
dns_view_setcache(view, cache);
dns_view_setcache(view, cache, ISC_FALSE);
dns_view_freeze(view);
dns_cache_detach(&cache);