Parcourir la source

[1578] a bit more comment

JINMEI Tatuya il y a 13 ans
Parent
commit
4684af80eb
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/lib/datasrc/memory_datasrc.cc

+ 3 - 1
src/lib/datasrc/memory_datasrc.cc

@@ -627,7 +627,9 @@ struct InMemoryZoneFinder::InMemoryZoneFinderImpl {
     }
 
     // Set up FindResult object as a return value of find(), taking into
-    // account wildcard matches and DNSSEC information.
+    // account wildcard matches and DNSSEC information.  We set the NSEC/NSEC3
+    // flag when applicable regardless of the find option; the caller would
+    // simply ignore these when then didn't request DNSSEC related results.
     FindResult createFindResult(Result code, ConstRRsetPtr rrset,
                                 bool wild) const
     {