bind9/bin
Tony Finch f72c687fa2 Fix a few cosmetic issues with rndc managed-keys
The handling of class and view arguments was broken, because the code
didn't realise that next_token() would overwrite the class name when
it parsed the view name. The code was trying to implement a syntax
like `refresh [[class] view]`, but it was documented to have a syntax
like `refresh [class [view]]`. The latter is consistent with other rndc
commands, so that is how I have fixed it.

Before:

$ rndc managed-keys refresh in rec
rndc: 'managed-keys' failed: unknown class/type
unknown class 'rec'

After:

$ rndc managed-keys refresh in rec
refreshing managed keys for 'rec'

There were missing newlines in the output from `rndc managed-keys
refresh` and `rndc managed-keys destroy`.

Before:

$ rndc managed-keys refresh
refreshing managed keys for 'rec'refreshing managed keys for 'auth'

After:

$ rndc managed-keys refresh
refreshing managed keys for 'rec'
refreshing managed keys for 'auth'

(cherry picked from commit 6a3b851f72)
(cherry picked from commit bc984ace12)
2019-01-14 18:19:22 -08:00
..
check update copyrights 2019-01-02 10:26:49 +11:00
confgen update copyrights 2019-01-02 10:26:49 +11:00
delv update copyrights 2019-01-02 10:26:49 +11:00
dig Fix cleanup upon an error before TCP socket creation 2019-01-08 11:24:03 +01:00
dnssec indenting 2019-01-02 11:51:52 +11:00
named Fix a few cosmetic issues with rndc managed-keys 2019-01-14 18:19:22 -08:00
nsupdate update copyrights 2019-01-02 10:26:49 +11:00
pkcs11 update copyrights 2019-01-02 10:26:49 +11:00
python update copyrights 2019-01-02 10:26:49 +11:00
rndc update copyrights 2019-01-02 10:26:49 +11:00
tests b/t/s/dnssec/tests.sh: Cleanup showprivate() function 2019-01-14 13:23:36 -08:00
tools update copyrights 2019-01-02 10:26:49 +11:00
win32/BINDInstall Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
Makefile.in update file headers to remove copyright years 2018-03-14 16:40:20 -07:00