mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
fix incorrect comments
This commit is contained in:
@@ -4995,16 +4995,10 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
|
|||||||
&view->sortlist));
|
&view->sortlist));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configure default allow-notify, allow-update
|
* Configure default allow-update and allow-update-forwarding ACLs,
|
||||||
* and allow-update-forwarding ACLs, so they can be
|
* so they can be inherited by zones. (Note these cannot be set at
|
||||||
* inherited by zones. (Note these cannot be set at
|
|
||||||
* options/view level.)
|
* options/view level.)
|
||||||
*/
|
*/
|
||||||
if (view->notifyacl == NULL) {
|
|
||||||
CHECK(configure_view_acl(vconfig, config, named_g_config,
|
|
||||||
"allow-notify", NULL, actx,
|
|
||||||
named_g_mctx, &view->notifyacl));
|
|
||||||
}
|
|
||||||
if (view->updateacl == NULL) {
|
if (view->updateacl == NULL) {
|
||||||
CHECK(configure_view_acl(NULL, NULL, named_g_config,
|
CHECK(configure_view_acl(NULL, NULL, named_g_config,
|
||||||
"allow-update", NULL, actx,
|
"allow-update", NULL, actx,
|
||||||
@@ -5017,14 +5011,19 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configure default allow-transer ACL so it can be inherited
|
* Configure default allow-transfer and allow-notify ACLs so they
|
||||||
* by zones. (Note this *can* be set at options or view level.)
|
* can be inherited by zones.
|
||||||
*/
|
*/
|
||||||
if (view->transferacl == NULL) {
|
if (view->transferacl == NULL) {
|
||||||
CHECK(configure_view_acl(vconfig, config, named_g_config,
|
CHECK(configure_view_acl(vconfig, config, named_g_config,
|
||||||
"allow-transfer", NULL, actx,
|
"allow-transfer", NULL, actx,
|
||||||
named_g_mctx, &view->transferacl));
|
named_g_mctx, &view->transferacl));
|
||||||
}
|
}
|
||||||
|
if (view->notifyacl == NULL) {
|
||||||
|
CHECK(configure_view_acl(vconfig, config, named_g_config,
|
||||||
|
"allow-notify", NULL, actx,
|
||||||
|
named_g_mctx, &view->notifyacl));
|
||||||
|
}
|
||||||
|
|
||||||
obj = NULL;
|
obj = NULL;
|
||||||
result = named_config_get(maps, "provide-ixfr", &obj);
|
result = named_config_get(maps, "provide-ixfr", &obj);
|
||||||
|
Reference in New Issue
Block a user