From cbcf2bf6e90032b0cec1f6e075755e0d5067b322 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 8 Mar 2001 01:38:39 +0000 Subject: [PATCH] removed "max_cache_size = 0" line, allowing cache limiting --- bin/named/server.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index 097b43bb50..14d6963772 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.300 2001/03/08 00:55:47 bwelling Exp $ */ +/* $Id: server.c,v 1.301 2001/03/08 01:38:39 tale Exp $ */ #include @@ -611,11 +611,6 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig, } max_cache_size = (isc_uint32_t)value; } - - /* - * XXX remove once rbt is fixed - */ - max_cache_size = 0; dns_cache_setcachesize(cache, max_cache_size); dns_cache_detach(&cache); @@ -813,8 +808,7 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig, * Create the special view that handles queries under "bind. CH". */ static isc_result_t -create_bind_view(dns_view_t **viewp) -{ +create_bind_view(dns_view_t **viewp) { isc_result_t result; dns_view_t *view = NULL;