]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix line spacing in `rndc secroots`
authorTony Finch <dot@dotat.at>
Mon, 13 Jan 2020 05:48:09 +0000 (05:48 +0000)
committerMark Andrews <marka@isc.org>
Mon, 13 Jan 2020 21:57:17 +0000 (08:57 +1100)
commite0a7baa6aff5e30bb5620a42f807918e127ed375
tree0cc9e79ed24eb0733b2493b6012649c7d3dd7dd6
parent89b26276bc36ef6faaada2e9ab92bf25cb6720d2
Fix line spacing in `rndc secroots`

Before this change, there was a missing blank line between the
negative trust anchors for one view, and the heading line for the next
view. This is because dns_ntatable_totext() omits the last newline.
There is an example of the incorrect output below; the fixed output
has a blank line before "Start view auth".

secure roots as of 21-Oct-2019 12:03:23.500:

 Start view rec
   Secure roots:

./RSASHA256/20326 ; managed

   Negative trust anchors:

example.com: expiry 21-Oct-2019 13:03:15.000
 Start view auth
   Secure roots:

./RSASHA256/20326 ; managed

   Negative trust anchors:

example.com: expiry 21-Oct-2019 13:03:07.000

(cherry picked from commit 5b600c2cd806515091a6ee3f818b700fe10147e6)
CHANGES
bin/named/server.c
bin/tests/system/dnssec/tests.sh