3018. [bug] Named failed to check for the "none;" acl when deciding

if a zone may need to be re-signed. RT #23120]
This commit is contained in:
Mark Andrews
2011-02-07 00:18:39 +00:00
parent bc2df2da11
commit 7a2c642272
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
3018. [bug] Named failed to check for the "none;" acl when deciding
if a zone may need to be re-signed. RT #23120]
3016. [bug] rndc usage missing '-b'. [RT #22937]
3015. [port] win32: fix IN6_IS_ADDR_LINKLOCAL and
+3 -2
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.483.36.23 2010/12/14 00:48:22 marka Exp $ */
/* $Id: zone.c,v 1.483.36.24 2011/02/07 00:18:39 marka Exp $ */
/*! \file */
@@ -1541,7 +1541,8 @@ get_master_options(dns_zone_t *zone) {
if (DNS_ZONE_OPTION(zone, DNS_ZONEOPT_CHECKWILDCARD))
options |= DNS_MASTER_CHECKWILDCARD;
if (zone->type == dns_zone_master &&
(zone->update_acl != NULL || zone->ssutable != NULL))
((zone->update_acl != NULL && !dns_acl_isnone(zone->update_acl)) ||
zone->ssutable != NULL))
options |= DNS_MASTER_RESIGN;
return (options);
}