]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2249] addressed comments
authorRazvan Becheriu <razvan@isc.org>
Mon, 14 Mar 2022 18:20:20 +0000 (20:20 +0200)
committerRazvan Becheriu <razvan@isc.org>
Tue, 15 Mar 2022 04:44:49 +0000 (06:44 +0200)
ChangeLog
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
src/bin/dhcp4/tests/classify_unittest.cc
src/bin/dhcp6/dhcp6_srv.cc
src/lib/dhcpsrv/alloc_engine.h

index a02e7a1d4641cf76871d6db44b76c666eaf27c68..eafb538213acd7b8225245cdd4aeb57ab6d5a5ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,7 @@
        ``true`` and it defaults to ``false`` if not configured.
        (Gitlab #2249)
 
-1999.   [func]         tmark, razvan
+1999.  [func]          tmark, razvan
        The kea-dhcp6 server fully supports using PostgreSQL for config
        back end. This should be considered an experimental feature.
        (Gitlab #2355)
index 808358fbd04087c1ec7d00c5457838dffcbe107b..8f404fd3dc6ecbda076bb5f0250644f27075f64b 100644 (file)
         // Boolean parameter which controls whether an early global host
         // reservations lookup should be performed. This lookup takes place
         // before subnet selection and when a global reservation is found
-        // with some client classes triggers a second phase classification.
-        // It can be used too to drop queries using host reservations as
-        // decision table indexed by reservation identifiers.
+        // with some client classes, it triggers a second phase classification.
+        // It can also be used to drop queries using host reservations as a
+        // decision table indexed by reservation identifiers.
         "early-global-reservations-lookup": true,
 
         // Boolean parameter which controls DHCP server's behavior with respect
index 68356bb7b46221e0fdd5de1849ffdd0cd50a5213..f05126e34666112874522eb6a7782dd0ff84d192 100644 (file)
         // Boolean parameter which controls whether an early global host
         // reservations lookup should be performed. This lookup takes place
         // before subnet selection and when a global reservation is found
-        // with some client classes triggers a second phase classification.
-        // It can be used too to drop queries using host reservations as
-        // decision table indexed by reservation identifiers.
+        // with some client classes, it triggers a second phase classification.
+        // It can also be used to drop queries using host reservations as a
+        // decision table indexed by reservation identifiers.
         "early-global-reservations-lookup": true,
 
         // Boolean parameter which controls DHCP server's behavior with respect
index 7c8d2d6a431588c3fce3e9cd00c752f7255d6a75..2d06a4985e348f94178054a44d24075bbcba47eb 100644 (file)
@@ -1436,7 +1436,7 @@ TEST_F(ClassifyTest, earlyDrop) {
     // Send the discover.
     client2.doDiscover();
 
-    // Not matchine so not dropped.
+    // Not matching so not dropped.
     EXPECT_TRUE(client2.getContext().response_);
 }
 
index 01ce154d945e5525845572347a58c3f3eb641c8c..98f5ce5ebebc42bfc0c2356e0ef5f57b2e188f0b 100644 (file)
@@ -3945,7 +3945,7 @@ Dhcpv6Srv::requiredClassify(const Pkt6Ptr& pkt, AllocEngine::ClientContext6& ctx
         // Followed by the subnet
         const ClientClasses& to_add = subnet->getRequiredClasses();
         for (ClientClasses::const_iterator cclass = to_add.cbegin();
-            cclass != to_add.cend(); ++cclass) {
+             cclass != to_add.cend(); ++cclass) {
             classes.insert(*cclass);
         }
 
index a2973995ca39c24d02e33399dffb582fe54e6ce5..fa263f0979af57c72dc23cbd0d5ed1c3ba9f5efb 100644 (file)
@@ -473,7 +473,7 @@ public:
         /// update existing lease.
         bool fake_allocation_;
 
-        /// @brief Indicates if early global reservation is looked for.
+        /// @brief Indicates if early global reservation is enabled.
         ///
         /// This caches the early-global-reservations-lookup value.
         bool early_global_reservations_lookup_;
@@ -1378,7 +1378,7 @@ public:
     /// information to the allocation engine methods is that adding
     /// new information doesn't modify the API of the allocation engine.
     struct ClientContext4 : public boost::noncopyable {
-        /// @brief Indicates if early global reservation is looked for.
+        /// @brief Indicates if early global reservation is enabled.
         ///
         /// This caches the early-global-reservations-lookup value.
         bool early_global_reservations_lookup_;