mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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)
|
||||
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,
|
||||
dns_c_zone_getallowtransfer,
|
||||
dns_zone_setxfracl,
|
||||
|
@@ -141,13 +141,6 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_aclconfctx_t *ac,
|
||||
if (result != DNS_R_SUCCESS)
|
||||
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,
|
||||
dns_c_zone_getallowtransfer,
|
||||
dns_zone_setxfracl,
|
||||
|
Reference in New Issue
Block a user