Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
445
Issues
445
List
Boards
Labels
Service Desk
Milestones
Merge Requests
71
Merge Requests
71
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
fca31329
Commit
fca31329
authored
Dec 07, 2012
by
Stephen Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2404] Minor changes as a result of review
parent
8f6903dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/lib/dhcp/duid.h
src/lib/dhcp/duid.h
+5
-0
src/lib/dhcpsrv/mysql_lease_mgr.h
src/lib/dhcpsrv/mysql_lease_mgr.h
+1
-1
No files found.
src/lib/dhcp/duid.h
View file @
fca31329
...
@@ -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>
...
...
src/lib/dhcpsrv/mysql_lease_mgr.h
View file @
fca31329
...
@@ -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
DU
ID) 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment