From: Shawn Routhier Date: Tue, 17 Mar 2015 21:43:16 +0000 (-0700) Subject: [3705] Fix up some typos during review X-Git-Tag: kea-0.9.1~19^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d3c6fd7a4822455ac72a59d209272ef2b6818a;p=thirdparty%2Fkea.git [3705] Fix up some typos during review --- diff --git a/src/bin/dhcp6/json_config_parser.cc b/src/bin/dhcp6/json_config_parser.cc index f53afa1217..cb89a0e254 100644 --- a/src/bin/dhcp6/json_config_parser.cc +++ b/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 { diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index 239bb84906..45930dd2f2 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/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)); diff --git a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc index ea9b7fc6b2..8aeb716e41 100644 --- a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc +++ b/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, diff --git a/src/lib/dhcpsrv/srv_config.h b/src/lib/dhcpsrv/srv_config.h index ab895b080d..e27f9dd122 100644 --- a/src/lib/dhcpsrv/srv_config.h +++ b/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_; };