2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

[master] add conf file to rndc status

4268.	[func]		"rndc status" now reports the path to the
			configuration file. [RT #36470]
This commit is contained in:
Evan Hunt 2015-12-02 18:54:46 -08:00
parent 92cc6acdff
commit b6214feb63
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
4268. [func] "rndc status" now reports the path to the
configuration file. [RT #36470]
4267. [test] Check sdlz error handling. [RT #41142]
4266. [placeholder]

View File

@ -8939,6 +8939,9 @@ ns_server_status(ns_server_t *server, isc_buffer_t **text) {
snprintf(line, sizeof(line), "last configured: %s\n", configtime);
CHECK(putstr(text, line));
snprintf(line, sizeof(line), "configuration file: %s\n", ns_g_conffile);
CHECK(putstr(text, line));
#ifdef ISC_PLATFORM_USETHREADS
snprintf(line, sizeof(line), "CPUs found: %u\n", ns_g_cpus_detected);
CHECK(putstr(text, line));