]> git.ipfire.org Git - thirdparty/bind9.git/commit
document optional statements the same, enabled or not
authorEvan Hunt <each@isc.org>
Wed, 2 Oct 2024 02:16:55 +0000 (19:16 -0700)
committerEvan Hunt <each@isc.org>
Wed, 4 Dec 2024 23:08:44 +0000 (15:08 -0800)
commit202c68e6a83d582bda4291d6a87cc33cb7dcc98c
tree1fb19f196fdd04005fcbde6c1242e0b35879747e
parent6fd5e771ebc9554bfde5b434f2fb04c04784a7b1
document optional statements the same, enabled or not

the generated grammar for named.conf clauses that may or may not be
enabled at compile time will now print the same comment regardless of
whether or not they are.

previously, the grammar didn't print a comment if an option was enabled,
but printed "not configured" if it was disabled. now, in both cases,
it will say "optional (only available if configured)".

as an incidental fix, clarified the documentation for "named-checkconf -n".
bin/check/named-checkconf.rst
doc/misc/options
lib/isccfg/check.c
lib/isccfg/include/isccfg/grammar.h
lib/isccfg/namedconf.c
lib/isccfg/parser.c