]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4497] Spelling, no \n at end of .gitignore, etc
authorFrancis Dupont <fdupont@isc.org>
Thu, 7 Jul 2016 16:28:16 +0000 (18:28 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 8 Jul 2016 05:50:19 +0000 (07:50 +0200)
13 files changed:
src/bin/lfc/.gitignore
src/lib/dhcp/pkt.h
src/lib/dhcp/pkt6.cc
src/lib/dhcp/pkt6.h
src/lib/dhcp/tests/option_copy_unittest.cc
src/lib/dhcpsrv/parsers/.gitignore
src/lib/dns/rdata/generic/detail/.gitignore
src/lib/eval/.gitignore
src/lib/eval/tests/.gitignore
src/lib/testutils/.gitignore
src/lib/util/encode/.gitignore
src/lib/util/random/.gitignore
src/lib/util/tests/.gitignore

index 1c52fb03e29c12fd58939195c7e1c882b6a4de11..5c1604f3d30aa7032c503a8e142d55436e3f04db 100644 (file)
@@ -2,4 +2,4 @@
 /kea-lfc.8
 /lfc_messages.cc
 /lfc_messages.h
-/s-messages
\ No newline at end of file
+/s-messages
index 2f33c6c967f31dd097a872496f1937a64e5dc929..bc29af46835a14629d520ff047eb82a514ac4226 100644 (file)
@@ -130,7 +130,7 @@ public:
     /// prior to calling this method.
     ///
     /// Output buffer will be stored in buffer_out_.
-    /// The buffer_out_ should be cleared before writting to the buffer
+    /// The buffer_out_ should be cleared before writing to the buffer
     /// in the derived classes.
     ///
     /// @note This is a pure virtual method and must be implemented in
@@ -246,7 +246,7 @@ public:
     /// For all unsupported messages the derived classes must return
     /// "UNKNOWN".
     ///
-    /// @return Ponter to "const" string containing DHCP message name.
+    /// @return Pointer to "const" string containing DHCP message name.
     /// The implementations in the derived classes should statically
     /// allocate returned strings and the caller must not release the
     /// returned pointer.
@@ -276,7 +276,7 @@ public:
     ///
     /// @note It is a matter of naming convention. Conceptually, the server
     /// processes a stream of packets, with some packets belonging to given
-    /// classes. From that perspective, this method adds a packet to specifed
+    /// classes. From that perspective, this method adds a packet to specified
     /// class. Implementation wise, it looks the opposite - the class name
     /// is added to the packet. Perhaps the most appropriate name for this
     /// method would be associateWithClass()? But that seems overly long,
@@ -295,7 +295,7 @@ public:
     ///
     /// @warning This public member is accessed by derived
     /// classes directly. One of such derived classes is
-    /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+    /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
     /// behavior must be taken into consideration before making
     /// changes to this member such as access scope restriction or
     /// data format change etc.
@@ -553,7 +553,7 @@ public:
     /// @param hw_addr_src a bitmask that specifies hardware address source
     HWAddrPtr getMAC(uint32_t hw_addr_src);
 
-    /// @brief Virtual desctructor.
+    /// @brief Virtual destructor.
     ///
     /// There is nothing to clean up here, but since there are virtual methods,
     /// we define virtual destructor to ensure that derived classes will have
@@ -573,7 +573,7 @@ public:
     ///
     /// @warning This public member is accessed by derived
     /// classes directly. One of such derived classes is
-    /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+    /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
     /// behavior must be taken into consideration before making
     /// changes to this member such as access scope restriction or
     /// data format change etc.
@@ -723,7 +723,7 @@ protected:
     ///
     /// @warning This protected member is accessed by derived
     /// classes directly. One of such derived classes is
-    /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+    /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
     /// behavior must be taken into consideration before making
     /// changes to this member such as access scope restriction or
     /// data format change etc.
@@ -753,7 +753,7 @@ private:
     /// @param hw_addr pointer to actual hardware address.
     /// @param [out] storage pointer to a class member to be modified.
     ///
-    /// @trow isc::OutOfRange if invalid HW address specified.
+    /// @throw isc::OutOfRange if invalid HW address specified.
     virtual void setHWAddrMember(const uint8_t htype, const uint8_t hlen,
                                  const std::vector<uint8_t>& hw_addr,
                                  HWAddrPtr& storage);
index bf09eaf016b21a4937834a71f7798385cbcd26de..1658335b20f07a2d3c85e91832da17861aae5be3 100644 (file)
@@ -59,8 +59,8 @@ size_t Pkt6::len() {
 }
 
 void
-Pkt6:: prepareGetAnyRelayOption(const RelaySearchOrder& order,
-                                  int& start, int& end, int& direction) const {
+Pkt6::prepareGetAnyRelayOption(const RelaySearchOrder& order,
+                               int& start, int& end, int& direction) const {
     switch (order) {
     case RELAY_SEARCH_FROM_CLIENT:
         // Search backwards
index 619862549d964c9a7d4d3ddbddeb40e750a3d934..6abe3db6df2edd16283b8ad1e1bfdfd9df54d878 100644 (file)
@@ -58,7 +58,7 @@ public:
     /// @brief defines relay search pattern
     ///
     /// Defines order in which options are searched in a message that
-    /// passed through mulitple relays. RELAY_SEACH_FROM_CLIENT will
+    /// passed through multiple relays. RELAY_SEACH_FROM_CLIENT will
     /// start search from the relay that was the closest to the client
     /// (i.e. innermost in the encapsulated message, which also means
     /// this was the first relay that forwarded packet received by the
@@ -275,7 +275,7 @@ private:
     ///
     /// @param order Option search order (see @ref RelaySearchOrder).
     /// @param [out] start Index of the relay information structure from
-    /// which the serch should be started.
+    /// which the search should be started.
     /// @param [out] end Index of the relay information structure on which
     /// the option searches should stop.
     /// @param [out] direction Equals to -1 for backwards searches, and
@@ -401,7 +401,7 @@ public:
     /// requires one parameter (type).
     ///
     /// @return Pointer to "const" string containing the message name. If
-    /// the message type is unknnown the "UNKNOWN" is returned. The caller
+    /// the message type is unknown the "UNKNOWN" is returned. The caller
     /// must not release the returned pointer.
     const char* getName() const;
 
index d2108729b34b317db2b7842e0f8e0a56c3499e8e..233ffebf5a6234a4b43c49203a00109e6037c635 100644 (file)
@@ -77,7 +77,7 @@ enum OpType {
 /// the pointer will be reset, so there is no sense to initialize this
 /// object to a non-null value. However, for the assignment testing it is
 /// recommended to initialize the option_copy to point to an option having
-/// different parameters to verify that all parameters have been overriden
+/// different parameters to verify that all parameters have been overridden
 /// by the assignment operation.
 template<typename OptionType>
 void testCopyAssign(const OpType& op_type,
@@ -151,7 +151,7 @@ void testCopyAssign(const OpType& op_type,
 
 // **************************** Option ***************************
 
-/// @brief Test deep copy of option encapsualated by Option type.
+/// @brief Test deep copy of option encapsulated by Option type.
 ///
 /// @param op_type Copy operation type.
 void testOption(const OpType& op_type) {
@@ -193,7 +193,7 @@ TEST(OptionCopyTest, optionAssignment) {
 
 // **************************** OptionInt ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionInt type.
+/// @brief Test deep copy of option encapsulated by OptionInt type.
 ///
 /// @param op_type Copy operation type.
 void testOptionInt(const OpType& op_type) {
@@ -223,7 +223,7 @@ TEST(OptionCopyTest, optionIntAssignment) {
 
 // ************************* OptionIntArray ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionIntArray type.
+/// @brief Test deep copy of option encapsulated by OptionIntArray type.
 ///
 /// @param op_type Copy operation type.
 void testOptionIntArray(const OpType& op_type) {
@@ -260,7 +260,7 @@ TEST(OptionCopyTest, optionIntArrayAssignment) {
 
 // ************************* Option4AddrLst ***************************
 
-/// @brief Test deep copy of option encapsualated by Option4AddrLst or
+/// @brief Test deep copy of option encapsulated by Option4AddrLst or
 /// Option6AddrLst type.
 ///
 /// @param op_type Copy operation type.
@@ -290,7 +290,7 @@ void testOptionAddrLst(const OpType& op_type,
     EXPECT_EQ(option_address.toText(), addrs_copy[0].toText());
 }
 
-/// @brief Test deep copy of option encapsualated by Option4AddrLst type.
+/// @brief Test deep copy of option encapsulated by Option4AddrLst type.
 ///
 /// @param op_type Copy operation type.
 void testOption4AddrLst(const OpType& op_type) {
@@ -314,7 +314,7 @@ TEST(OptionCopyTest, option4AddrLstAssignment) {
 
 // ************************* Option6AddrLst ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6AddrLst type.
+/// @brief Test deep copy of option encapsulated by Option6AddrLst type.
 ///
 /// @param op_type Copy operation type.
 void testOption6AddrLst(const OpType& op_type) {
@@ -338,7 +338,7 @@ TEST(OptionCopyTest, option6AddrLstAssignment) {
 
 // *************************** Option6IA ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6IA type.
+/// @brief Test deep copy of option encapsulated by Option6IA type.
 ///
 /// @param op_type Copy operation type.
 void testOption6IA(const OpType& op_type) {
@@ -374,7 +374,7 @@ TEST(OptionCopyTest, option6IAAssignment) {
 
 // *************************** Option6IAAddr ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6IAAddr type.
+/// @brief Test deep copy of option encapsulated by Option6IAAddr type.
 ///
 /// @param op_type Copy operation type.
 void testOption6IAAddr(const OpType& op_type) {
@@ -412,7 +412,7 @@ TEST(OptionCopyTest, option6IAAddrAssignment) {
 
 // *************************** Option6IAPrefix ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6IAPrefix type.
+/// @brief Test deep copy of option encapsulated by Option6IAPrefix type.
 ///
 /// @param op_type Copy operation type.
 void testOption6IAPrefix(const OpType& op_type) {
@@ -451,7 +451,7 @@ TEST(OptionCopyTest, option6IAPrefixAssignment) {
 
 // *************************** Option6StatusCode ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6StatusCode type.
+/// @brief Test deep copy of option encapsulated by Option6StatusCode type.
 ///
 /// @param op_type Copy operation type.
 void testOption6StatusCode(const OpType& op_type) {
@@ -485,7 +485,7 @@ TEST(OptionCopyTest, option6StatusCodeAssignment) {
 
 // *************************** OptionString ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionString type.
+/// @brief Test deep copy of option encapsulated by OptionString type.
 ///
 /// @param op_type Copy operation type.
 void testOptionString(const OpType& op_type) {
@@ -516,7 +516,7 @@ TEST(OptionCopyTest, optionStringAssignment) {
 
 // *************************** OptionVendor ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionVendor type.
+/// @brief Test deep copy of option encapsulated by OptionVendor type.
 ///
 /// @param op_type Copy operation type.
 void testOptionVendor(const OpType& op_type) {
@@ -546,7 +546,7 @@ TEST(OptionCopyTest, optionVendorAssignment) {
 
 // *********************** OptionVendorClass ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionVendorClass type.
+/// @brief Test deep copy of option encapsulated by OptionVendorClass type.
 ///
 /// @param op_type Copy operation type.
 void testOptionVendorClass(const OpType& op_type) {
@@ -571,7 +571,7 @@ void testOptionVendorClass(const OpType& op_type) {
     tuple = "another-modified-vendor-class-value";
     option->addTuple(tuple);
 
-    // That change shouldn't affect the orginal option. It should still
+    // That change shouldn't affect the original option. It should still
     // contain a single tuple with the original value.
     ASSERT_EQ(1, option_copy->getTuplesNum());
     tuple = option_copy->getTuple(0);
@@ -592,7 +592,7 @@ TEST(OptionCopyTest, optionVendorClassAssignment) {
 
 // ************************** Option4ClientFqdn ***************************
 
-/// @brief Test deep copy of option encapsualated by Option4ClientFqdn or
+/// @brief Test deep copy of option encapsulated by Option4ClientFqdn or
 /// Option6ClientFqdn type.
 ///
 /// @param op_type Copy operation type.
@@ -602,7 +602,7 @@ TEST(OptionCopyTest, optionVendorClassAssignment) {
 /// the pointer will be reset, so there is no sense to initialize this
 /// object to a non-null value. However, for the assignment testing it is
 /// recommended to initialize the option_copy to point to an option having
-/// different parameters to verify that all parameters have been overriden
+/// different parameters to verify that all parameters have been overridden
 /// by the assignment operation.
 ///
 /// @tparam OptionType Option4ClientFqdn or Option6ClientFqdn.
@@ -644,7 +644,7 @@ void testOptionClientFqdn(const OpType& op_type,
     }
 }
 
-/// @brief Test deep copy of option encapsualated by Option4ClientFqdn type.
+/// @brief Test deep copy of option encapsulated by Option4ClientFqdn type.
 ///
 /// @param op_type Copy operation type.
 void testOption4ClientFqdn(const OpType& op_type) {
@@ -675,7 +675,7 @@ TEST(OptionCopyTest, option4ClientFqdnAssignment) {
 
 // ************************** Option6ClientFqdn ***************************
 
-/// @brief Test deep copy of option encapsualated by Option6ClientFqdn type.
+/// @brief Test deep copy of option encapsulated by Option6ClientFqdn type.
 ///
 /// @param op_type Copy operation type.
 void testOption6ClientFqdn(const OpType& op_type) {
@@ -704,7 +704,7 @@ TEST(OptionCopyTest, option6ClientFqdnAssignment) {
 
 // **************************** OptionCustom ***************************
 
-/// @brief Test deep copy of option encapsualated by OptionCustom type.
+/// @brief Test deep copy of option encapsulated by OptionCustom type.
 ///
 /// @param op_type Copy operation type.
 void testOptionCustom(const OpType& op_type) {
@@ -746,7 +746,7 @@ TEST(OptionCopyTest, optionCustomAssignment) {
 
 // ************************ OptionOpaqueDataTuples ***********************
 
-/// @brief Test deep copy of option encapsualated by OptionOpaqueDataTuples type.
+/// @brief Test deep copy of option encapsulated by OptionOpaqueDataTuples type.
 ///
 /// @param op_type Copy operation type.
 void testOptionOpaqueDataTuples(const OpType& op_type) {
index bc339737f441919908e8c634040d362faa88eaa3..c83c0130e8796b65d65c82c0859b4d1db08427c8 100644 (file)
@@ -1 +1 @@
-/.dirstamp
\ No newline at end of file
+/.dirstamp
index bc339737f441919908e8c634040d362faa88eaa3..c83c0130e8796b65d65c82c0859b4d1db08427c8 100644 (file)
@@ -1 +1 @@
-/.dirstamp
\ No newline at end of file
+/.dirstamp
index 5af061949e6548b53671b4fb0897c8b03209aab4..c16e2ccba10a2fd5b6dbfd44b4c760e380697eb5 100644 (file)
@@ -1,3 +1,3 @@
 /eval_messages.cc
 /eval_messages.h
-/s-messages
\ No newline at end of file
+/s-messages
index be86f8ed64a8921dfaafb01204642542aad1a652..7ce9787e26590c3f7a14820937bdd3bf8c02d965 100644 (file)
@@ -1 +1 @@
-/libeval_unittests
\ No newline at end of file
+/libeval_unittests
index ba01f3c6c2cc13d0f4f40dd918fff6589ba0f391..17933cf0b653c57f5eab6f5216c19ddfd87bec81 100644 (file)
@@ -1 +1 @@
-/dhcp_test_lib.sh
\ No newline at end of file
+/dhcp_test_lib.sh
index bc339737f441919908e8c634040d362faa88eaa3..c83c0130e8796b65d65c82c0859b4d1db08427c8 100644 (file)
@@ -1 +1 @@
-/.dirstamp
\ No newline at end of file
+/.dirstamp
index bc339737f441919908e8c634040d362faa88eaa3..c83c0130e8796b65d65c82c0859b4d1db08427c8 100644 (file)
@@ -1 +1 @@
-/.dirstamp
\ No newline at end of file
+/.dirstamp
index bd0e41ba0fdae69e64ed09fa6be854a5a6c275b4..6a0c5b5de13cd42d28df0e7c5f148993dd12f66b 100644 (file)
@@ -1,2 +1,2 @@
 /run_unittests
-/process_spawn_app.sh
\ No newline at end of file
+/process_spawn_app.sh