Commit 1d3c8948 authored by Mark Andrews's avatar Mark Andrews
Browse files

check for view->adbstats != NULL rather than view->resstats

parent 7e9ccec6
......@@ -975,7 +975,7 @@ generatexml(ns_server_t *server, int *buflen, xmlChar **buf) {
TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
TRY0(xmlTextWriterWriteAttribute(writer, ISC_XMLCHAR "type",
ISC_XMLCHAR "adbstat"));
if (view->resstats != NULL) {
if (view->adbstats != NULL) {
result = dump_counters(view->adbstats,
isc_statsformat_xml, writer,
NULL, adbstats_xmldesc,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment