mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
don't configure the zone's query ACL twice
This commit is contained in:
@@ -141,13 +141,6 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_aclconfctx_t *ac,
|
|||||||
if (result != DNS_R_SUCCESS)
|
if (result != DNS_R_SUCCESS)
|
||||||
return (result);
|
return (result);
|
||||||
|
|
||||||
result = configure_zone_acl(czone, cctx, ac, zone,
|
|
||||||
dns_c_zone_getallowquery,
|
|
||||||
dns_zone_setqueryacl,
|
|
||||||
dns_zone_clearqueryacl);
|
|
||||||
if (result != DNS_R_SUCCESS)
|
|
||||||
return (result);
|
|
||||||
|
|
||||||
result = configure_zone_acl(czone, cctx, ac, zone,
|
result = configure_zone_acl(czone, cctx, ac, zone,
|
||||||
dns_c_zone_getallowtransfer,
|
dns_c_zone_getallowtransfer,
|
||||||
dns_zone_setxfracl,
|
dns_zone_setxfracl,
|
||||||
|
@@ -141,13 +141,6 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_aclconfctx_t *ac,
|
|||||||
if (result != DNS_R_SUCCESS)
|
if (result != DNS_R_SUCCESS)
|
||||||
return (result);
|
return (result);
|
||||||
|
|
||||||
result = configure_zone_acl(czone, cctx, ac, zone,
|
|
||||||
dns_c_zone_getallowquery,
|
|
||||||
dns_zone_setqueryacl,
|
|
||||||
dns_zone_clearqueryacl);
|
|
||||||
if (result != DNS_R_SUCCESS)
|
|
||||||
return (result);
|
|
||||||
|
|
||||||
result = configure_zone_acl(czone, cctx, ac, zone,
|
result = configure_zone_acl(czone, cctx, ac, zone,
|
||||||
dns_c_zone_getallowtransfer,
|
dns_c_zone_getallowtransfer,
|
||||||
dns_zone_setxfracl,
|
dns_zone_setxfracl,
|
||||||
|
Reference in New Issue
Block a user