2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 10:10:06 +00:00

3848. [bug] Adjust 'statistics-channels specified but not effective'

error message to account for JSON support. [RT #36008]
This commit is contained in:
Mark Andrews 2014-05-15 11:12:05 +10:00
parent 69530009f1
commit a14fe85229
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
3848. [bug] Adjust 'statistics-channels specified but not effective'
error message to account for JSON support. [RT #36008]
3847. [bug] 'configure --with-dlz-postgres' failed to fail when
there is not support available.

View File

@ -2353,11 +2353,11 @@ ns_statschannels_configure(ns_server_t *server, const cfg_obj_t *config,
* address-in-use error.
*/
if (statschannellist != NULL) {
#ifndef HAVE_LIBXML2
#if !defined(HAVE_LIBXML2) && !defined(HAVE_JSON)
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
NS_LOGMODULE_SERVER, ISC_LOG_WARNING,
"statistics-channels specified but not effective "
"due to missing XML library");
"due to missing XML and/or JSON library");
#endif
for (element = cfg_list_first(statschannellist);