mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[4497] Spelling
This commit is contained in:
committed by
Marcin Siodelski
parent
1646b7df7c
commit
9cc292e608
@@ -995,7 +995,7 @@ Dhcpv4Srv::processPacket(Pkt4Ptr& query, Pkt4Ptr& rsp) {
|
|||||||
// Clear skip flag if it was set in previous callouts
|
// Clear skip flag if it was set in previous callouts
|
||||||
callout_handle->setStatus(CalloutHandle::NEXT_STEP_CONTINUE);
|
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.
|
// hook library.
|
||||||
ScopedEnableOptionsCopy<Pkt4> query_resp_options_copy(query, rsp);
|
ScopedEnableOptionsCopy<Pkt4> query_resp_options_copy(query, rsp);
|
||||||
|
|
||||||
|
2
src/lib/cfgrpt/tests/.gitignore
vendored
2
src/lib/cfgrpt/tests/.gitignore
vendored
@@ -1 +1 @@
|
|||||||
/run_unittests
|
/run_unittests
|
||||||
|
@@ -163,10 +163,10 @@ public:
|
|||||||
|
|
||||||
/// @brief Copies this option and returns a pointer to the copy.
|
/// @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
|
/// a copy of the derived type. The simplest way to do it is by
|
||||||
/// calling @ref cloneInternal function with an appropriate template
|
/// calling @ref cloneInternal function with an appropriate template
|
||||||
/// parmater.
|
/// parameter.
|
||||||
///
|
///
|
||||||
/// @return Pointer to the copy of the option.
|
/// @return Pointer to the copy of the option.
|
||||||
virtual OptionPtr clone() const;
|
virtual OptionPtr clone() const;
|
||||||
@@ -203,7 +203,7 @@ public:
|
|||||||
|
|
||||||
/// @brief Returns string representation of the value
|
/// @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.
|
/// refers to a specific option.
|
||||||
///
|
///
|
||||||
/// @return string that represents the value of the option.
|
/// @return string that represents the value of the option.
|
||||||
@@ -272,7 +272,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// @param type type of requested suboption
|
/// @param type type of requested suboption
|
||||||
///
|
///
|
||||||
/// @return shared_ptr to requested suoption
|
/// @return shared_ptr to requested suboption
|
||||||
OptionPtr getOption(uint16_t type) const;
|
OptionPtr getOption(uint16_t type) const;
|
||||||
|
|
||||||
/// @brief Returns all encapsulated options.
|
/// @brief Returns all encapsulated options.
|
||||||
@@ -375,8 +375,8 @@ public:
|
|||||||
/// @brief Checks if options are equal.
|
/// @brief Checks if options are equal.
|
||||||
///
|
///
|
||||||
/// This method calls a virtual @c equals function to compare objects.
|
/// This method calls a virtual @c equals function to compare objects.
|
||||||
/// This method is not meant to be overriden in the derived classes.
|
/// This method is not meant to be overridden in the derived classes.
|
||||||
/// Instead, the other @c equals function must be overriden.
|
/// Instead, the other @c equals function must be overridden.
|
||||||
///
|
///
|
||||||
/// @param other Pointer to the option to compare this option to.
|
/// @param other Pointer to the option to compare this option to.
|
||||||
/// @return true if both options are equal, false otherwise.
|
/// @return true if both options are equal, false otherwise.
|
||||||
|
@@ -61,7 +61,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// @param indent number of leading space characters
|
/// @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;
|
virtual std::string toText(int indent = 0) const;
|
||||||
|
|
||||||
/// Sets T1 timer.
|
/// Sets T1 timer.
|
||||||
|
@@ -31,7 +31,7 @@ namespace dhcp {
|
|||||||
/// server is going to invoke a callout (hook library) where copying options
|
/// server is going to invoke a callout (hook library) where copying options
|
||||||
/// must be enabled by default. When the callouts return 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
|
/// 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.
|
/// exceptions thrown by callouts and a presence of multiple exit points.
|
||||||
template<typename PktType>
|
template<typename PktType>
|
||||||
class ScopedEnableOptionsCopy {
|
class ScopedEnableOptionsCopy {
|
||||||
|
Reference in New Issue
Block a user