Parcourir la source

[2420] made a comment line less confusing (separate unrelated one and add new)

JINMEI Tatuya il y a 12 ans
Parent
commit
f31f6dd3b5
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/lib/datasrc/memory/zone_data_updater.cc

+ 2 - 0
src/lib/datasrc/memory/zone_data_updater.cc

@@ -309,6 +309,8 @@ ZoneDataUpdater::addRdataSet(const Name& name, const RRType& rrtype,
         node->setData(rdataset_new);
 
         // Ok, we just put it in.
+
+        // Convenient (and more efficient) shortcut to check RRsets at origin
         const bool is_origin = (node == zone_data_.getOriginNode());
 
         // If this RRset creates a zone cut at this node, mark the node