Commit eac4d4fd authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2212] comment update

parent edcbc935
......@@ -475,9 +475,13 @@ void
DataSrcClientsBuilderBase<MutexType, CondVarType>::doLoadZone(
const isc::data::ConstElementPtr& arg)
{
// We assume same basic level validation as this method can only be
// called via the manager in practice. manager is expected to do the
// minimal validation.
assert(arg);
assert(arg->get("class"));
assert(arg->get("origin"));
// TODO: test bogus class and name
const dns::RRClass rrclass(arg->get("class")->stringValue());
const dns::Name origin(arg->get("origin")->stringValue());
ClientListsMap::iterator found = (*clients_map_)->find(rrclass);
......
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