From cd3674b4b29bd67eeab314df03b90efd886ef04c Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 7 Feb 2000 22:01:05 +0000 Subject: [PATCH] don't configure the zone's query ACL twice --- bin/named/zoneconf.c | 7 ------- lib/dns/zoneconf.c | 7 ------- 2 files changed, 14 deletions(-) diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index df751eba67..13aa4147f5 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -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, diff --git a/lib/dns/zoneconf.c b/lib/dns/zoneconf.c index df751eba67..13aa4147f5 100644 --- a/lib/dns/zoneconf.c +++ b/lib/dns/zoneconf.c @@ -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,