172. [bug] $TTL directive was sometimes missing from dumped
master files because totext_ctx_init() failed to
initialize ctx->current_ttl_valid.
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
||||
172. [bug] $TTL directive was sometimes missing from dumped
|
||||
master files because totext_ctx_init() failed to
|
||||
initialize ctx->current_ttl_valid.
|
||||
|
||||
171. [cleanup] On NetBSD systems, the mit-pthreads or unproven-pthreads
|
||||
library is now always used unless --with-ptl2 is
|
||||
explicitly specified on the configure command line.
|
||||
|
||||
@@ -226,8 +226,11 @@ static isc_result_t
|
||||
totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
|
||||
isc_result_t result;
|
||||
|
||||
ctx->style = *style;
|
||||
REQUIRE(style->tab_width != 0);
|
||||
|
||||
ctx->style = *style;
|
||||
ctx->class_printed = ISC_FALSE;
|
||||
|
||||
dns_fixedname_init(&ctx->origin_fixname);
|
||||
|
||||
/*
|
||||
@@ -271,8 +274,9 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
|
||||
ctx->linebreak = NULL;
|
||||
}
|
||||
|
||||
ctx->class_printed = ISC_FALSE;
|
||||
ctx->origin = NULL;
|
||||
ctx->current_ttl = 0;
|
||||
ctx->current_ttl_valid = ISC_FALSE;
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user