Browse Source

[4497] Spelling

Francis Dupont 8 years ago
parent
commit
9cc292e608

+ 1 - 1
src/bin/dhcp4/dhcp4_srv.cc

@@ -995,7 +995,7 @@ Dhcpv4Srv::processPacket(Pkt4Ptr& query, Pkt4Ptr& rsp) {
         // Clear skip flag if it was set in previous callouts
         callout_handle->setStatus(CalloutHandle::NEXT_STEP_CONTINUE);
 
-        // Enable copying options from the query and response packet within
+        // Enable copying options from the query and response packets within
         // hook library.
         ScopedEnableOptionsCopy<Pkt4> query_resp_options_copy(query, rsp);
 

+ 1 - 1
src/lib/cfgrpt/tests/.gitignore

@@ -1 +1 @@
-/run_unittests
+/run_unittests

+ 6 - 6
src/lib/dhcp/option.h

@@ -163,10 +163,10 @@ public:
 
     /// @brief Copies this option and returns a pointer to the copy.
     ///
-    /// This function must be overriden in the derived classes to make
+    /// This function must be overridden in the derived classes to make
     /// a copy of the derived type. The simplest way to do it is by
     /// calling @ref cloneInternal function with an appropriate template
-    /// parmater.
+    /// parameter.
     ///
     /// @return Pointer to the copy of the option.
     virtual OptionPtr clone() const;
@@ -203,7 +203,7 @@ public:
 
     /// @brief Returns string representation of the value
     ///
-    /// This is terse repesentation used in cases where client classification
+    /// This is terse representation used in cases where client classification
     /// refers to a specific option.
     ///
     /// @return string that represents the value of the option.
@@ -272,7 +272,7 @@ public:
     ///
     /// @param type type of requested suboption
     ///
-    /// @return shared_ptr to requested suoption
+    /// @return shared_ptr to requested suboption
     OptionPtr getOption(uint16_t type) const;
 
     /// @brief Returns all encapsulated options.
@@ -375,8 +375,8 @@ public:
     /// @brief Checks if options are equal.
     ///
     /// This method calls a virtual @c equals function to compare objects.
-    /// This method is not meant to be overriden in the derived classes.
-    /// Instead, the other @c equals function must be overriden.
+    /// This method is not meant to be overridden in the derived classes.
+    /// Instead, the other @c equals function must be overridden.
     ///
     /// @param other Pointer to the option to compare this option to.
     /// @return true if both options are equal, false otherwise.

+ 1 - 1
src/lib/dhcp/option6_ia.h

@@ -61,7 +61,7 @@ public:
     ///
     /// @param indent number of leading space characters
     ///
-    /// @return string with text represenation
+    /// @return string with text representation
     virtual std::string toText(int indent = 0) const;
 
     /// Sets T1 timer.

+ 1 - 1
src/lib/dhcp/pkt.h

@@ -31,7 +31,7 @@ namespace dhcp {
 /// server is going to invoke a callout (hook library) where copying options
 /// must be enabled by default. When the callouts return copying options
 /// should be disabled. The use of RAII object eliminates the need for
-/// explicitly re-renabling options copying and is safer in case of
+/// explicitly re-disabling options copying and is safer in case of
 /// exceptions thrown by callouts and a presence of multiple exit points.
 template<typename PktType>
 class ScopedEnableOptionsCopy {