[master] error on bad parameter to 'rndc dumpdb'

4433.	[cleanup]	Report an error when passing an invalid option or
			view name to "rndc dumpdb". [RT #42958]
This commit is contained in:
Evan Hunt
2016-08-11 15:56:30 -07:00
parent 7a76be36e7
commit c38d989fdd
4 changed files with 17 additions and 4 deletions

View File

@@ -596,7 +596,7 @@ ns_server_dumpstats(ns_server_t *server);
* Dump the current cache to the dump file.
*/
isc_result_t
ns_server_dumpdb(ns_server_t *server, isc_lex_t *lex);
ns_server_dumpdb(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text);
/*%
* Dump the current security roots to the secroots file.