From c7060ccf5e4ec41ee12e08e66f410fe14199c545 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Wed, 26 Sep 2012 20:02:24 +0530 Subject: [PATCH] [2218] Add code comment --- src/lib/datasrc/memory/zone_finder.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/datasrc/memory/zone_finder.cc b/src/lib/datasrc/memory/zone_finder.cc index 17e9612546..cbe79da2a7 100644 --- a/src/lib/datasrc/memory/zone_finder.cc +++ b/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. 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.