mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-17 16:18:06 -04:00
80 columns
This commit is contained in:
parent
0f7045b0c4
commit
84ef83d296
1 changed files with 3 additions and 2 deletions
|
|
@ -348,7 +348,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
|
|||
if (cview != NULL)
|
||||
result = dns_c_view_getcleaninterval(cview, &cleaning_interval);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
result = dns_c_ctx_getcleaninterval(cctx, &cleaning_interval);
|
||||
result = dns_c_ctx_getcleaninterval(cctx, &cleaning_interval);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
cleaning_interval = 3600; /* Default is 1 hour. */
|
||||
dns_cache_setcleaninginterval(cache, cleaning_interval);
|
||||
|
|
@ -478,7 +478,8 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
|
|||
view->transfer_format = dns_one_answer;
|
||||
(void) dns_c_ctx_gettransferformat(cctx, &view->transfer_format);
|
||||
if (cview != NULL)
|
||||
(void) dns_c_view_gettransferformat(cview, &view->transfer_format);
|
||||
(void) dns_c_view_gettransferformat(cview,
|
||||
&view->transfer_format);
|
||||
|
||||
CHECK(configure_view_acl(cview, cctx, actx, ns_g_mctx,
|
||||
dns_c_view_getallowquery,
|
||||
|
|
|
|||
Loading…
Reference in a new issue