2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

1540. [bug] "rndc reload <dynamiczone>" was silently accepted.

[RT #8934]
This commit is contained in:
Mark Andrews
2004-03-02 02:37:11 +00:00
parent 821644d49b
commit d5ad558234
5 changed files with 16 additions and 9 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.406 2004/03/02 01:19:51 marka Exp $ */
/* $Id: zone.c,v 1.407 2004/03/02 02:37:11 marka Exp $ */
#include <config.h>
@@ -970,7 +970,10 @@ zone_load(dns_zone_t *zone, unsigned int flags) {
* zone being reloaded. Do nothing - the database
* we already have is guaranteed to be up-to-date.
*/
result = ISC_R_SUCCESS;
if (zone->type == dns_zone_master)
result = DNS_R_DYNAMIC;
else
result = ISC_R_SUCCESS;
goto cleanup;
}