]> 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 19:29:09 +0000 (06:29 +1100)
commit6014fe13ffaec80ff6d17ecafef70420012cf1d6
treed77eb5c1ab2b7f2f546ed406ab365e178363f83e
parent339dce6f7231a0727bb2707b3f7ccf0bfed36121
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