mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 00:00:00 -04:00
950. [bug] Explicit TTLs did not properly override
due to a bug in change 834. [RT #1558]
This commit is contained in:
parent
44c141f947
commit
23a020bc13
2 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
|
||||
950. [bug] Explicit TTLs did not properly override $TTL
|
||||
due to a bug in change 834. [RT #1558]
|
||||
|
||||
949. [bug] host was unable to print records larger than 512
|
||||
bytes. [RT #1557]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: master.c,v 1.120 2001/07/24 18:49:06 bwelling Exp $ */
|
||||
/* $Id: master.c,v 1.121 2001/08/01 17:58:45 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1424,7 +1424,7 @@ load(dns_loadctx_t *lctx) {
|
|||
goto insist_and_cleanup;
|
||||
}
|
||||
}
|
||||
} else if (lctx->default_ttl_known) {
|
||||
} else if (!explicit_ttl && lctx->default_ttl_known) {
|
||||
lctx->ttl = lctx->default_ttl;
|
||||
} else if (!explicit_ttl && lctx->warn_1035) {
|
||||
(*callbacks->warn)(callbacks,
|
||||
|
|
|
|||
Loading…
Reference in a new issue