mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
don't configure the zone's query ACL twice
This commit is contained in:
parent
927aa19430
commit
cd3674b4b2
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user