Commit 5607fdf2 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[trac551] Mark the correct node on load

We don't need the *.wild.example.org node marked. We need
wild.example.org.
parent f3d4565f
......@@ -103,13 +103,13 @@ struct MemoryZone::MemoryZoneImpl {
result = domains.insert(wname.split(1), &node);
assert(result == DomainTree::SUCCESS ||
result == DomainTree::ALREADYEXISTS);
node->setFlag(DOMAINFLAG_WILD);
// Ensure a separate level exists for the "wildcarding" name,
// and mark the node as "wild".
result = domains.insert(wname, &node);
assert(result == DomainTree::SUCCESS ||
result == DomainTree::ALREADYEXISTS);
node->setFlag(DOMAINFLAG_WILD);
}
}
}
......
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