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
Kea
Commits
83904ae5
Commit
83904ae5
authored
Jan 29, 2011
by
JINMEI Tatuya
Browse files
[trac534] updated comments about NS check in cutCallback().
parent
4265faed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory_datasrc.cc
View file @
83904ae5
...
...
@@ -230,10 +230,12 @@ struct MemoryZone::MemoryZoneImpl {
const
Domain
::
const_iterator
foundNS
(
node
.
getData
()
->
find
(
RRType
::
NS
()));
if
(
foundNS
!=
node
.
getData
()
->
end
())
{
// BIND 9 checks if this node is not the origin. But it cannot
// be the origin because we don't enable the callback at the
// origin node (see MemoryZoneImpl::add()). Or should we do a
// double check for it?
// BIND 9 checks if this node is not the origin. That's probably
// because it can support multiple versions for dynamic updates
// and IXFR, and it's possible that the callback is called at
// the apex and the DNAME doesn't exist for a particular version.
// It cannot happen for us (at least for now), so we don't do
// that check.
state
->
zonecut_node_
=
&
node
;
state
->
rrset_
=
foundNS
->
second
;
...
...
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