Commit fca31329 authored by Stephen Morris's avatar Stephen Morris

[2404] Minor changes as a result of review

parent 8f6903dc
...@@ -91,6 +91,11 @@ public: ...@@ -91,6 +91,11 @@ public:
/// @brief Maximum size of a client ID /// @brief Maximum size of a client ID
/// ///
/// This is the same as the maximum size of the underlying DUID. /// This is the same as the maximum size of the underlying DUID.
///
/// @note RFC 2131 does not specify an upper length of a client ID, the
/// value chosen here just being that of the underlying DUID. For
/// some backend database, there may be a possible (minor)
/// performance enhancement if this were smaller.
static const size_t MAX_CLIENT_ID_LEN = DUID::MAX_DUID_LEN; static const size_t MAX_CLIENT_ID_LEN = DUID::MAX_DUID_LEN;
/// @brief Constructor based on vector<uint8_t> /// @brief Constructor based on vector<uint8_t>
......
...@@ -110,7 +110,7 @@ public: ...@@ -110,7 +110,7 @@ public:
/// @brief Returns an IPv4 lease for specified IPv4 address /// @brief Returns an IPv4 lease for specified IPv4 address
/// ///
/// This method return a lease that is associated with a given address. /// This method return a lease that is associated with a given address.
/// For other query types (by hardware addr, by DUID) there can be /// For other query types (by hardware addr, by Client ID) there can be
/// several leases in different subnets (e.g. for mobile clients that /// several leases in different subnets (e.g. for mobile clients that
/// got address in different subnets). However, for a single address /// got address in different subnets). However, for a single address
/// there can be only one lease, so this method returns a pointer to /// there can be only one lease, so this method returns a pointer to
......
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