]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add missing closing ')' to update-policy documentation
authorMark Andrews <marka@isc.org>
Fri, 4 Nov 2022 06:03:44 +0000 (06:03 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 7 Nov 2022 11:23:17 +0000 (12:23 +0100)
The opening '(' before local was not being matched by a closing
')' after the closing '};'.

(cherry picked from commit 044c3b2bb8ea2342ad6c0ca9d4936e5706eb3224)

doc/man/named.conf.5in
doc/misc/primary.zoneopt
lib/isccfg/namedconf.c

index 8f7f5999188fe6e240ac378b0afdc4cdd59723cb..f82b88dec993ca2f6c1c5a06b542c21616ef931e 100644 (file)
@@ -721,7 +721,7 @@ zone <string> [ <class> ] {
        sig\-signing\-type <integer>;
        sig\-validity\-interval <integer> [ <integer> ];
        update\-check\-ksk <boolean>;
-       update\-policy ( local | { ( deny | grant ) <string> ( 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 ) [ <string> ] <rrtypelist>; ... };
+       update\-policy ( local | { ( deny | grant ) <string> ( 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 ) [ <string> ] <rrtypelist>; ... } );
        zero\-no\-soa\-ttl <boolean>;
        zone\-statistics ( full | terse | none | <boolean> );
 };
index c8ceb6d29fd92570779bbee8ac441e79e38c1246..8b2816ccfc7bf9d74cd10ae6f539b400a36e5873 100644 (file)
@@ -56,7 +56,7 @@ zone <string> [ <class> ] {
        sig-signing-type <integer>;
        sig-validity-interval <integer> [ <integer> ];
        update-check-ksk <boolean>;
-       update-policy ( local | { ( deny | grant ) <string> ( 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 ) [ <string> ] <rrtypelist>; ... };
+       update-policy ( local | { ( deny | grant ) <string> ( 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 ) [ <string> ] <rrtypelist>; ... } );
        zero-no-soa-ttl <boolean>;
        zone-statistics ( full | terse | none | <boolean> );
 };
index c2ed8d6488e9a415f953176ac6f4fa3433a2b330..77d607f64e867fce2f67c75733e8163d804023b5 100644 (file)
@@ -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, "; ... } )");
 }
 
 /*%