]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
check that allow-notify is only specified for slave zones
authorBrian Wellington <source@isc.org>
Thu, 13 Dec 2001 06:20:40 +0000 (06:20 +0000)
committerBrian Wellington <source@isc.org>
Thu, 13 Dec 2001 06:20:40 +0000 (06:20 +0000)
lib/bind9/check.c

index 766a6562505ce885605e89c1fd43c2e9462da878..a9a4fd132024e1dc91f914c5e9d6a271a6c91835 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.10 2001/11/30 01:59:02 gson Exp $ */
+/* $Id: check.c,v 1.11 2001/12/13 06:20:40 bwelling Exp $ */
 
 #include <config.h>
 
@@ -128,6 +128,7 @@ check_zoneconf(cfg_obj_t *zconfig, isc_symtab_t *symtab,
 
        static optionstable options[] = {
        { "allow-query", MASTERZONE | SLAVEZONE | STUBZONE },
+       { "allow-notify", SLAVEZONE },
        { "allow-transfer", MASTERZONE | SLAVEZONE },
        { "notify", MASTERZONE | SLAVEZONE },
        { "also-notify", MASTERZONE | SLAVEZONE },