]> git.ipfire.org Git - thirdparty/bind9.git/commit
Include all views in output of `rndc validation status`
authorTony Finch <dot@dotat.at>
Tue, 15 Oct 2019 14:06:01 +0000 (15:06 +0100)
committerOndřej Surý <ondrej@sury.org>
Thu, 31 Oct 2019 16:28:00 +0000 (11:28 -0500)
commitbebeadc8e679761b25b4a6fff190c5f6ae6bb06f
tree00b10053f690eee93e4b1066bcb6c358788b3380
parentebbe199715a84af159ecc0db16242f4e8b89092c
Include all views in output of `rndc validation status`

The implementation of `rndc validation status` iterates over all the
views to print their validation status. It takes care to print newlines
in between, but it also used put a nul byte at the end of the first view
which truncated the output.

After this change, the nul byte is added at the end so that it prints
the validation status in all views. The `_bind` view is skipped
because its validation status is irrelevant.
bin/named/server.c