From: Mark Andrews Date: Fri, 28 Sep 2001 05:29:13 +0000 (+0000) Subject: 1019. [bug] The value of the lame-ttl option was limited to 18000 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a317d95e5bb1b4b2189a30feb6311011d68a392;p=thirdparty%2Fbind9.git 1019. [bug] The value of the lame-ttl option was limited to 18000 seconds, not 1800 seconds as documented. [RT #1803] --- diff --git a/CHANGES b/CHANGES index f4c88a42ed0..b04c80bc0d0 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1019. [bug] The value of the lame-ttl option was limited to 18000 + seconds, not 1800 seconds as documented. [RT #1803] 1016. [bug] Slave zones with no backup file were re-transferred on every server reload. diff --git a/bin/named/server.c b/bin/named/server.c index 0d6a2958268..4c47df10bf6 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.276.2.3 2001/06/25 08:34:46 marka Exp $ */ +/* $Id: server.c,v 1.276.2.4 2001/09/28 05:29:13 marka Exp $ */ #include @@ -522,8 +522,8 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview, result = dns_c_ctx_getlamettl(cctx, &lame_ttl); if (result == ISC_R_NOTFOUND) lame_ttl = 600; - if (lame_ttl > 18000) - lame_ttl = 18000; + if (lame_ttl > 1800) + lame_ttl = 1800; dns_resolver_setlamettl(view->resolver, lame_ttl); /*