Commit 6fad0e38 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] comment cleanup: s/RBTree/ZoneTree/

committing at my discretion.
parent ac07f31f
......@@ -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 RBTree.
// backend ZoneTree.
// 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
......
......@@ -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 RBTree::find().
// This will be passed from findNode() to \c ZoneTree::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 RBTree implementation
// to be set by findNode()); otherwise the underlying ZoneTree implementation
// throws.
//
// If the zone is not considered NSEC-signed or DNSSEC records were not
......
......@@ -897,7 +897,7 @@ InMemoryZoneFinderTest::emptyNodeCheck(
ZoneFinder::FindResultFlags expected_flags)
{
/*
* The backend RBTree for this test should look like as follows:
* The backend ZoneTree for this test should look like as follows:
* example.org
* |
* baz (empty; easy case)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment