Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
6fad0e38
Commit
6fad0e38
authored
Sep 27, 2012
by
JINMEI Tatuya
Browse files
[master] comment cleanup: s/RBTree/ZoneTree/
committing at my discretion.
parent
ac07f31f
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/memory_client.cc
View file @
6fad0e38
...
...
@@ -125,7 +125,7 @@ public:
//
// In order for wildcard matching to work correctly in the zone finder,
// we must ensure that a node for the wildcarding level exists in the
// backend
RB
Tree.
// backend
Zone
Tree.
// E.g. if the wildcard name is "*.sub.example." then we must ensure
// that "sub.example." exists and is marked as a wildcard level.
// Note: the "wildcarding level" is for the parent name of the wildcard
...
...
src/lib/datasrc/memory/zone_finder.cc
View file @
6fad0e38
...
...
@@ -137,7 +137,7 @@ struct FindState {
};
// A callback called from possible zone cut nodes and nodes with DNAME.
// This will be passed from findNode() to \c
RB
Tree::find().
// This will be passed from findNode() to \c
Zone
Tree::find().
bool
cutCallback
(
const
ZoneNode
&
node
,
FindState
*
state
)
{
// We need to look for DNAME first, there's allowed case where
// DNAME and NS coexist in the apex. DNAME is the one to notice,
...
...
@@ -264,7 +264,7 @@ createFindResult(const RRClass& rrclass,
// it should always succeed.
//
// node_path must store valid search context (in practice, it's expected
// to be set by findNode()); otherwise the underlying
RB
Tree implementation
// to be set by findNode()); otherwise the underlying
Zone
Tree implementation
// throws.
//
// If the zone is not considered NSEC-signed or DNSSEC records were not
...
...
src/lib/datasrc/tests/memory/zone_finder_unittest.cc
View file @
6fad0e38
...
...
@@ -897,7 +897,7 @@ InMemoryZoneFinderTest::emptyNodeCheck(
ZoneFinder
::
FindResultFlags
expected_flags
)
{
/*
* The backend
RB
Tree for this test should look like as follows:
* The backend
Zone
Tree for this test should look like as follows:
* example.org
* |
* baz (empty; easy case)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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