Commit 1a4d6873 authored by Mark Andrews's avatar Mark Andrews

1468. [func] Internal zones are nolonger for 'rndc status'.

                        [RT #4706]
parent 397f86cf
1468. [func] Internal zones are nolonger for 'rndc status'.
[RT #4706]
1467. [func] $GENERATES now supports optional class and ttl.
1466. [bug] lwresd configuration errors resulted in memory
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.41 2003/02/27 05:12:47 marka Exp $ */
/* $Id: config.c,v 1.42 2003/04/17 12:11:39 marka Exp $ */
#include <config.h>
......@@ -153,6 +153,9 @@ options {\n\
ixfr-from-differences false;\n\
};\n\
\n\
#\n\
# Zones in the \"_bind\" view are NOT counted is the count of zones.\n\
#\n\
view \"_bind\" chaos {\n\
recursion no;\n\
\n\
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.386 2003/03/23 13:18:53 jinmei Exp $ */
/* $Id: zone.c,v 1.387 2003/04/17 12:11:39 marka Exp $ */
#include <config.h>
......@@ -6592,8 +6592,12 @@ dns_zonemgr_getcount(dns_zonemgr_t *zmgr, int state) {
case DNS_ZONESTATE_ANY:
for (zone = ISC_LIST_HEAD(zmgr->zones);
zone != NULL;
zone = ISC_LIST_NEXT(zone, link))
zone = ISC_LIST_NEXT(zone, link)) {
dns_view_t *view = zone->view;
if (view != NULL && strcmp(view->name, "_bind") == 0)
continue;
count++;
}
break;
default:
INSIST(0);
......
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