]> 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 05:48:09 +0000 (05:48 +0000)
commit5b600c2cd806515091a6ee3f818b700fe10147e6
treed34ea58d28a1ecf031d667cc58df9d1b84cc1c6c
parentb1b1bae9c1bdf1edacaf9b320d4a14c126f8d151
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
CHANGES
bin/named/server.c
bin/tests/system/dnssec/tests.sh