]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1019. [bug] The value of the lame-ttl option was limited to 18000
authorMark Andrews <marka@isc.org>
Fri, 28 Sep 2001 05:29:13 +0000 (05:29 +0000)
committerMark Andrews <marka@isc.org>
Fri, 28 Sep 2001 05:29:13 +0000 (05:29 +0000)
                        seconds, not 1800 seconds as documented. [RT #1803]

CHANGES
bin/named/server.c

diff --git a/CHANGES b/CHANGES
index f4c88a42ed089d26d948aeb89eb0cfc9c0794874..b04c80bc0d073be8beeab1d299b9508e2bfbc515 100644 (file)
--- 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.
index 0d6a29582680501e4d9de97598c0c3e3f103586a..4c47df10bf6b5b5b29834c19f687c9838cea6baa 100644 (file)
@@ -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 <config.h>
 
@@ -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);
        
        /*