diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2017-07-23 17:54:42 +0200 |
---|---|---|
committer | Josh Soref <jsoref@users.noreply.github.com> | 2017-07-23 17:54:42 +0200 |
commit | ba005112f0f5776486cffb1ca5e3dceea2a425aa (patch) | |
tree | 1498637183a32838f7a37130d1c40d535a642284 /src/lib/dns | |
parent | spelling: checksum (diff) | |
download | kea-ba005112f0f5776486cffb1ca5e3dceea2a425aa.tar.xz kea-ba005112f0f5776486cffb1ca5e3dceea2a425aa.zip |
spelling: class
Diffstat (limited to 'src/lib/dns')
-rw-r--r-- | src/lib/dns/rrclass-placeholder.h | 2 | ||||
-rw-r--r-- | src/lib/dns/rrclass.h | 2 | ||||
-rw-r--r-- | src/lib/dns/tests/rrclass_unittest.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/dns/rrclass-placeholder.h b/src/lib/dns/rrclass-placeholder.h index fc201c6fa4..d4fd0baab0 100644 --- a/src/lib/dns/rrclass-placeholder.h +++ b/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 diff --git a/src/lib/dns/rrclass.h b/src/lib/dns/rrclass.h index 04676a874f..1796b4388b 100644 --- a/src/lib/dns/rrclass.h +++ b/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 diff --git a/src/lib/dns/tests/rrclass_unittest.cc b/src/lib/dns/tests/rrclass_unittest.cc index 7261b72008..0bcfeeb0e2 100644 --- a/src/lib/dns/tests/rrclass_unittest.cc +++ b/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()); } |