Parcourir la source

[2218] Add code comment

Mukund Sivaraman il y a 12 ans
Parent
commit
c7060ccf5e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/lib/datasrc/memory/zone_finder.cc

+ 1 - 0
src/lib/datasrc/memory/zone_finder.cc

@@ -689,6 +689,7 @@ InMemoryZoneFinder::findNSEC3(const isc::dns::Name& name, bool recursive) {
         // Now, make a label sequence relative to the origin.
         // Now, make a label sequence relative to the origin.
         const Name hlabel_name(hlabel);
         const Name hlabel_name(hlabel);
         LabelSequence hlabel_ls(hlabel_name);
         LabelSequence hlabel_ls(hlabel_name);
+        // Remove trailing '.' making it relative
         hlabel_ls.stripRight(1);
         hlabel_ls.stripRight(1);
 
 
         // Find hlabel relative to the orig_chain.
         // Find hlabel relative to the orig_chain.