summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isccfg/parser.c
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2003-09-22 19:49:28 +0000
committerjakob <jakob@openbsd.org>2003-09-22 19:49:28 +0000
commit4ffccb9ac50b04fd61f46bef5698b0e6bb15cbff (patch)
tree8f65a94b223ad71b0291987e87a224e54994d1e8 /usr.sbin/bind/lib/isccfg/parser.c
parentKill warnings. Add a note saying the current paper describes the (diff)
downloadwireguard-openbsd-4ffccb9ac50b04fd61f46bef5698b0e6bb15cbff.tar.xz
wireguard-openbsd-4ffccb9ac50b04fd61f46bef5698b0e6bb15cbff.zip
sync with 9.2.2-P3; new zone type "delegation-only"
discussed with deraadt@, millert@ and todd@
Diffstat (limited to 'usr.sbin/bind/lib/isccfg/parser.c')
-rw-r--r--usr.sbin/bind/lib/isccfg/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/isccfg/parser.c b/usr.sbin/bind/lib/isccfg/parser.c
index d793e1546c3..88acaaf6148 100644
--- a/usr.sbin/bind/lib/isccfg/parser.c
+++ b/usr.sbin/bind/lib/isccfg/parser.c
@@ -755,7 +755,7 @@ static cfg_type_t cfg_type_forwardtype = {
};
static const char *zonetype_enums[] = {
- "master", "slave", "stub", "hint", "forward", NULL };
+ "master", "slave", "stub", "hint", "forward", "delegation-only", NULL };
static cfg_type_t cfg_type_zonetype = {
"zonetype", parse_enum, print_ustring, &cfg_rep_string,
&zonetype_enums
@@ -955,6 +955,7 @@ zone_only_clauses[] = {
CFG_CLAUSEFLAG_MULTI | CFG_CLAUSEFLAG_OBSOLETE },
{ "update-policy", &cfg_type_updatepolicy, 0 },
{ "database", &cfg_type_astring, 0 },
+ { "delegation-only", &cfg_type_boolean, 0 },
/*
* Note that the format of the check-names option is different between
* the zone options and the global/view options. Ugh.