Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
fa827173
Commit
fa827173
authored
Oct 01, 2014
by
Mark Andrews
Browse files
3959. [bug] Updates could be lost if they arrived immediately
after a rndc thaw. [RT #37233]
parent
2fb35a6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
fa827173
3959. [bug] Updates could be lost if they arrived immediately
after a rndc thaw. [RT #37233]
3958. [bug] Detect when writeable files have multiple references
in named.conf. [RT #37172]
...
...
lib/dns/zt.c
View file @
fa827173
...
...
@@ -395,16 +395,16 @@ freezezones(dns_zone_t *zone, void *uap) {
result
=
DNS_R_FROZEN
;
if
(
result
==
ISC_R_SUCCESS
)
result
=
dns_zone_flush
(
zone
);
if
(
result
==
ISC_R_SUCCESS
)
dns_zone_setupdatedisabled
(
zone
,
freeze
);
}
else
{
if
(
frozen
)
{
result
=
dns_zone_load
(
zone
);
result
=
dns_zone_load
andthaw
(
zone
);
if
(
result
==
DNS_R_CONTINUE
||
result
==
DNS_R_UPTODATE
)
result
=
ISC_R_SUCCESS
;
}
}
if
(
result
==
ISC_R_SUCCESS
)
dns_zone_setupdatedisabled
(
zone
,
freeze
);
view
=
dns_zone_getview
(
zone
);
if
(
strcmp
(
view
->
name
,
"_bind"
)
==
0
||
strcmp
(
view
->
name
,
"_default"
)
==
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment