Commit 9cc292e6 authored by Francis Dupont's avatar Francis Dupont Committed by Marcin Siodelski
Browse files

[4497] Spelling

parent 1646b7df
......@@ -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);
......
/run_unittests
\ No newline at end of file
/run_unittests
......@@ -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.
......
......@@ -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.
......
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment