From 09dab3d9247e9acca4827d2dca9d36b89db5028b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 4 Nov 2022 06:03:44 +0000 Subject: [PATCH] Add missing closing ')' to update-policy documentation The opening '(' before local was not being matched by a closing ')' after the closing '};'. (cherry picked from commit 044c3b2bb8ea2342ad6c0ca9d4936e5706eb3224) --- doc/man/named.conf.5in | 2 +- doc/misc/primary.zoneopt | 2 +- lib/isccfg/namedconf.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/man/named.conf.5in b/doc/man/named.conf.5in index 8f7f599918..f82b88dec9 100644 --- a/doc/man/named.conf.5in +++ b/doc/man/named.conf.5in @@ -721,7 +721,7 @@ zone [ ] { sig\-signing\-type ; sig\-validity\-interval [ ]; update\-check\-ksk ; - update\-policy ( local | { ( deny | grant ) ( 6to4\-self | external | krb5\-self | krb5\-selfsub | krb5\-subdomain | krb5\-subdomain\-self\-rhs | ms\-self | ms\-selfsub | ms\-subdomain | ms\-subdomain\-self\-rhs | name | self | selfsub | selfwild | subdomain | tcp\-self | wildcard | zonesub ) [ ] ; ... }; + update\-policy ( local | { ( deny | grant ) ( 6to4\-self | external | krb5\-self | krb5\-selfsub | krb5\-subdomain | krb5\-subdomain\-self\-rhs | ms\-self | ms\-selfsub | ms\-subdomain | ms\-subdomain\-self\-rhs | name | self | selfsub | selfwild | subdomain | tcp\-self | wildcard | zonesub ) [ ] ; ... } ); zero\-no\-soa\-ttl ; zone\-statistics ( full | terse | none | ); }; diff --git a/doc/misc/primary.zoneopt b/doc/misc/primary.zoneopt index c8ceb6d29f..8b2816ccfc 100644 --- a/doc/misc/primary.zoneopt +++ b/doc/misc/primary.zoneopt @@ -56,7 +56,7 @@ zone [ ] { sig-signing-type ; sig-validity-interval [ ]; update-check-ksk ; - update-policy ( local | { ( deny | grant ) ( 6to4-self | external | krb5-self | krb5-selfsub | krb5-subdomain | krb5-subdomain-self-rhs | ms-self | ms-selfsub | ms-subdomain | ms-subdomain-self-rhs | name | self | selfsub | selfwild | subdomain | tcp-self | wildcard | zonesub ) [ ] ; ... }; + update-policy ( local | { ( deny | grant ) ( 6to4-self | external | krb5-self | krb5-selfsub | krb5-subdomain | krb5-subdomain-self-rhs | ms-self | ms-selfsub | ms-subdomain | ms-subdomain-self-rhs | name | self | selfsub | selfwild | subdomain | tcp-self | wildcard | zonesub ) [ ] ; ... } ); zero-no-soa-ttl ; zone-statistics ( full | terse | none | ); }; diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index c2ed8d6488..77d607f64e 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -445,7 +445,7 @@ static void doc_updatepolicy(cfg_printer_t *pctx, const cfg_type_t *type) { cfg_print_cstr(pctx, "( local | { "); cfg_doc_obj(pctx, type->of); - cfg_print_cstr(pctx, "; ... }"); + cfg_print_cstr(pctx, "; ... } )"); } /*%