]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3705] Fix up some typos during review
authorShawn Routhier <sar@isc.org>
Tue, 17 Mar 2015 21:43:16 +0000 (14:43 -0700)
committerShawn Routhier <sar@isc.org>
Tue, 17 Mar 2015 21:43:16 +0000 (14:43 -0700)
src/bin/dhcp6/json_config_parser.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/lib/dhcpsrv/srv_config.h

index f53afa1217f4653dbf9c824e861c0029df6e1a95..cb89a0e254e4e8124e7da17e3e2d0de88c867591 100644 (file)
@@ -578,10 +578,10 @@ public:
 
 /// @brief Parser for list of RSOO options
 ///
-/// This parser handles Dhcp6/relay-supplied-options entry. It contains a
+/// This parser handles Dhcp6/relay-supplied-options entry. It contains a
 /// list of RSOO-enabled options which should be sent back to the client.
 ///
-/// The option on this list can be specified using an option code or option
+/// The options on this list can be specified using an option code or option
 /// name. Therefore, the values on the list should always be enclosed in
 /// "quotes".
 class RSOOListConfigParser : public DhcpConfigParser {
index 239bb84906e90421987515b56a51fc2e31e8ca03..45930dd2f2146a0d061c220e7073e6f4fc590eb0 100644 (file)
@@ -3835,7 +3835,7 @@ TEST_F(Dhcp6ParserTest, rsooNames) {
                      ->enabled(code)) << " for option code " << code;
     }
 
-    // The following codes should be enabled now
+    // The following code should be enabled now
     EXPECT_TRUE(CfgMgr::instance().getStagingCfg()->getCfgRSOO()
                 ->enabled(D6O_NAME_SERVERS));
 
index ea9b7fc6b27594763f5f581c7075bbdbecb79f0c..8aeb716e41d777c4aca8bcd42707c57e04c5c938 100644 (file)
@@ -2339,7 +2339,7 @@ TEST_F(Dhcpv6SrvTest, rsooOverride) {
     opt = client.config_.findOption(110);
     ASSERT_TRUE(opt);
     // We check that this is the option injected by the relay by
-    // checking option length. It should has 10 bytes long payload.
+    // checking option length. It should have 10 bytes long payload.
     ASSERT_EQ(10, opt->getData().size());
 
     // The second option should be the one configured on the server,
index ab895b080d7f82b558fa7871541291f677d9bcc2..e27f9dd122e5663b965d825e86ed4915d5fce4ea 100644 (file)
@@ -393,8 +393,8 @@ private:
 
     /// @brief Pointer to the configuration for RSOO-enabled options.
     ///
-    /// This object holds a set of RSOO-enabled options. See the
-    /// RFC 6422 for the definition of RSOO-enabled option.
+    /// This object holds a set of RSOO-enabled options. See
+    /// RFC 6422 for the definition of the RSOO-enabled option.
     CfgRSOOPtr cfg_rsoo_;
 };