mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +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:
3
CHANGES
3
CHANGES
@@ -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]
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user