Browse Source

[3705] Fix up some typos during review

Shawn Routhier 10 years ago
parent
commit
23d3c6fd7a

+ 2 - 2
src/bin/dhcp6/json_config_parser.cc

@@ -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 a 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 {

+ 1 - 1
src/bin/dhcp6/tests/config_parser_unittest.cc

@@ -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));
 

+ 1 - 1
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

@@ -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,

+ 2 - 2
src/lib/dhcpsrv/srv_config.h

@@ -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_;
 };