]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Thu, 11 Oct 2001 17:12:42 +0000 (17:12 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 11 Oct 2001 17:12:42 +0000 (17:12 +0000)
1044.   [bug]           Specifying allow-transfer, notify-source, or
                        notify-source-v6 in a stub zone was not treated
                        as an error.

lib/isccfg/check.c

index fa525c5eaf076b20c37af31e67b61d3ff2ab6d65..6aa0b3477e7351e0d01eaf78c3d2986c2109cd59 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.14.2.3 2001/10/11 03:31:04 marka Exp $ */
+/* $Id: check.c,v 1.14.2.4 2001/10/11 17:12:42 gson Exp $ */
 
 #include <config.h>
 
@@ -114,7 +114,7 @@ check_zoneconf(cfg_obj_t *zconfig, isc_symtab_t *symtab, isc_log_t *logctx) {
 
        static optionstable options[] = {
        { "allow-query", MASTERZONE | SLAVEZONE | STUBZONE },
-       { "allow-transfer", MASTERZONE | SLAVEZONE | STUBZONE },
+       { "allow-transfer", MASTERZONE | SLAVEZONE },
        { "notify", MASTERZONE | SLAVEZONE },
        { "also-notify", MASTERZONE | SLAVEZONE },
        { "dialup", MASTERZONE | SLAVEZONE | STUBZONE },
@@ -122,6 +122,8 @@ check_zoneconf(cfg_obj_t *zconfig, isc_symtab_t *symtab, isc_log_t *logctx) {
        { "forwarders", MASTERZONE | SLAVEZONE | STUBZONE | FORWARDZONE},
        { "maintain-ixfr-base", MASTERZONE | SLAVEZONE },
        { "max-ixfr-log-size", MASTERZONE | SLAVEZONE },
+       { "notify-source", MASTERZONE | SLAVEZONE },
+       { "notify-source-v6", MASTERZONE | SLAVEZONE },
        { "transfer-source", SLAVEZONE | STUBZONE },
        { "transfer-source-v6", SLAVEZONE | STUBZONE },
        { "max-transfer-time-in", SLAVEZONE | STUBZONE },