Browse Source

spelling: class

Josh Soref 7 years ago
parent
commit
ba005112f0

+ 1 - 1
src/bin/keactrl/kea.conf.pre

@@ -712,7 +712,7 @@
         //      }
     ]
 
-    // Client-clesses can be defined here. See "client-classes" in Dhcp4 for
+    // Client-classes can be defined here. See "client-classes" in Dhcp4 for
     // an example.
 
     // Hook libraries can be defined here. See "hooks-libraries" example in

+ 1 - 1
src/lib/dns/rrclass-placeholder.h

@@ -111,7 +111,7 @@ public:
     /// As for the format of "CLASSnnnn", "nnnn" must represent a valid 16-bit
     /// unsigned integer, which may contain leading 0's as long as it consists
     /// of at most 5 characters (inclusive).
-    /// For example, "CLASS1" and "CLASSS001" are valid and represent the same
+    /// For example, "CLASS1" and "CLASS0001" are valid and represent the same
     /// class, but "CLASS65536" and "CLASS000001" are invalid.
     /// A "CLASSnnnn" representation is valid even if the corresponding class
     /// code is registered in the \c RRParamRegistry object.  For example, both

+ 1 - 1
src/lib/dns/rrclass.h

@@ -118,7 +118,7 @@ public:
     /// As for the format of "CLASSnnnn", "nnnn" must represent a valid 16-bit
     /// unsigned integer, which may contain leading 0's as long as it consists
     /// of at most 5 characters (inclusive).
-    /// For example, "CLASS1" and "CLASSS001" are valid and represent the same
+    /// For example, "CLASS1" and "CLASS0001" are valid and represent the same
     /// class, but "CLASS65536" and "CLASS000001" are invalid.
     /// A "CLASSnnnn" representation is valid even if the corresponding class
     /// code is registered in the \c RRParamRegistry object.  For example, both

+ 2 - 2
src/lib/dns/tests/rrclass_unittest.cc

@@ -41,7 +41,7 @@ const RRClass RRClassTest::rrclass_0x80(0x80);
 const RRClass RRClassTest::rrclass_0x800(0x800);
 const RRClass RRClassTest::rrclass_0x8000(0x8000);
 const RRClass RRClassTest::rrclass_max(0xffff);
-// This is wire-format data for the above sample RRClasss rendered in the
+// This is wire-format data for the above sample RRClass rendered in the
 // appearing order.
 const uint8_t RRClassTest::wiredata[] = { 0x00, 0x01, 0x00, 0x80, 0x08,
                                           0x00, 0x80, 0x00, 0xff, 0xff };
@@ -124,7 +124,7 @@ TEST_F(RRClassTest, toWireRenderer) {
                   renderer.getData(), renderer.getLength());
 }
 
-TEST_F(RRClassTest, wellKnownClasss) {
+TEST_F(RRClassTest, wellKnownClass) {
     EXPECT_EQ(1, RRClass::IN().getCode());
     EXPECT_EQ("IN", RRClass::IN().toText());
 }

+ 1 - 1
src/lib/http/tests/response_unittests.cc

@@ -67,7 +67,7 @@ TEST_F(HttpResponseTest, responseOK) {
 
     // Create a string holding expected response. Note that the Date
     // is a fixed value returned by the customized TestHttpResponse
-    // classs.
+    // class.
     std::ostringstream response_string;
     response_string <<
         "HTTP/1.0 200 OK\r\n"