mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +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:
parent
69530009f1
commit
a14fe85229
3
CHANGES
3
CHANGES
@ -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
|
3847. [bug] 'configure --with-dlz-postgres' failed to fail when
|
||||||
there is not support available.
|
there is not support available.
|
||||||
|
|
||||||
|
@ -2353,11 +2353,11 @@ ns_statschannels_configure(ns_server_t *server, const cfg_obj_t *config,
|
|||||||
* address-in-use error.
|
* address-in-use error.
|
||||||
*/
|
*/
|
||||||
if (statschannellist != NULL) {
|
if (statschannellist != NULL) {
|
||||||
#ifndef HAVE_LIBXML2
|
#if !defined(HAVE_LIBXML2) && !defined(HAVE_JSON)
|
||||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
||||||
NS_LOGMODULE_SERVER, ISC_LOG_WARNING,
|
NS_LOGMODULE_SERVER, ISC_LOG_WARNING,
|
||||||
"statistics-channels specified but not effective "
|
"statistics-channels specified but not effective "
|
||||||
"due to missing XML library");
|
"due to missing XML and/or JSON library");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (element = cfg_list_first(statschannellist);
|
for (element = cfg_list_first(statschannellist);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user