Browse Source

[2108] Add comment

Mukund Sivaraman 12 years ago
parent
commit
2dce3cb62a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/datasrc/memory/memory_client.cc

+ 3 - 0
src/lib/datasrc/memory/memory_client.cc

@@ -727,6 +727,9 @@ InMemoryClient::add(const isc::dns::Name& zone_name,
     }
 
     result::Result ret(impl_->add(rrset, zone_name, *result.zone_data));
+    // Add any associated RRSIG too. This has to be done here, as both
+    // the RRset and its RRSIG have to be passed when constructing an
+    // RdataSet.
     if ((ret == result::SUCCESS) && rrset->getRRsig()) {
         impl_->add(rrset->getRRsig(), zone_name, *result.zone_data);
     }