From: Mark Andrews Date: Thu, 18 Dec 2008 02:23:27 +0000 (+0000) Subject: 2520. [bug] Update xml statistics version number to 2.0. X-Git-Tag: v9.3.6-P2~4^2~196 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=09d7358c48bb032566e5bb70703c2c3ea35a0cb2;p=thirdparty%2Fbind9.git 2520. [bug] Update xml statistics version number to 2.0. [RT #19080] --- diff --git a/CHANGES b/CHANGES index ac3cd907fe7..d8548aa17da 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 6dc4fc643f6..a5ca1bbb923 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;