]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2218] Add code comment
authorMukund Sivaraman <muks@isc.org>
Wed, 26 Sep 2012 14:32:24 +0000 (20:02 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 26 Sep 2012 14:32:24 +0000 (20:02 +0530)
src/lib/datasrc/memory/zone_finder.cc

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