From 09d7358c48bb032566e5bb70703c2c3ea35a0cb2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 18 Dec 2008 02:23:27 +0000 Subject: [PATCH] 2520. [bug] Update xml statistics version number to 2.0. [RT #19080] --- CHANGES | 3 +++ bin/named/statschannel.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index ac3cd907fe..d8548aa17d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2520. [bug] Update xml statistics version number to 2.0. + [RT #19080] + 2519. [bug] dig/host with -4 or -6 didn't work if more than two nameserver addresses of the excluded address family preceded in resolv.conf. [RT #19081] diff --git a/bin/named/statschannel.c b/bin/named/statschannel.c index 6dc4fc643f..a5ca1bbb92 100644 --- a/bin/named/statschannel.c +++ b/bin/named/statschannel.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: statschannel.c,v 1.14 2008/08/08 05:06:49 marka Exp $ */ +/* $Id: statschannel.c,v 1.15 2008/12/18 02:23:27 marka Exp $ */ /*! \file */ @@ -635,7 +635,7 @@ generatexml(ns_server_t *server, int *buflen, xmlChar **buf) { TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "bind")); TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "statistics")); TRY0(xmlTextWriterWriteAttribute(writer, ISC_XMLCHAR "version", - ISC_XMLCHAR "1.0")); + ISC_XMLCHAR "2.0")); /* Set common fields for statistics dump */ dumparg.type = statsformat_xml;