2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 06:55:16 +00:00

[3210] Fixed trivial issues in the CfgMgr.

This commit includes trivial changes to the doxygen documentation and
make one variable const.
This commit is contained in:
Marcin Siodelski
2013-10-28 13:09:50 +01:00
parent 4a08e3662e
commit 9d3cf130a0

View File

@@ -316,22 +316,22 @@ public:
const isc::asiolink::IOAddress* const isc::asiolink::IOAddress*
getUnicast(const std::string& iface) const; getUnicast(const std::string& iface) const;
/// @brief Sets whether server should send back client-id in DHCPv4
/// @brief sets whether server should send back client-id in DHCPv4
/// ///
/// This is a compatibility flag. The default (true) is compliant with /// This is a compatibility flag. The default (true) is compliant with
/// RFC6842. False is for backward compatibility. /// RFC6842. False is for backward compatibility.
/// ///
/// @param echo should the client-id be sent or not /// @param echo should the client-id be sent or not
void echoClientId(bool echo) { void echoClientId(const bool echo) {
echo_v4_client_id_ = echo; echo_v4_client_id_ = echo;
} }
/// @brief returns whether server should send back client-id in DHCPv4 /// @brief Returns whether server should send back client-id in DHCPv4.
/// @param returns whether v4 client-id should be returned or not /// @return true if client-id should be returned, false otherwise.
bool echoClientId() const { bool echoClientId() const {
return (echo_v4_client_id_); return (echo_v4_client_id_);
} }
protected: protected:
/// @brief Protected constructor. /// @brief Protected constructor.