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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
Adam Osuchowski
Kea
Commits
dd37e6c5
Commit
dd37e6c5
authored
Feb 24, 2015
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] inSubnet() -> inRange() in comments
parent
36f587fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/lib/dhcpsrv/subnet.h
src/lib/dhcpsrv/subnet.h
+3
-3
No files found.
src/lib/dhcpsrv/subnet.h
View file @
dd37e6c5
...
...
@@ -95,12 +95,12 @@ public:
/// @brief checks if the specified address is in pools
///
/// Note the difference between in
Subnet
() and inPool(). For a given
/// Note the difference between in
Range
() and inPool(). For a given
/// subnet (e.g. 2001::/64) there may be one or more pools defined
/// that may or may not cover entire subnet, e.g. pool 2001::1-2001::10).
/// inPool() returning true implies in
Subnet
(), but the reverse implication
/// inPool() returning true implies in
Range
(), but the reverse implication
/// is not always true. For the given example, 2001::1234:abcd would return
/// true for in
Subnet
(), but false for inPool() check.
/// true for in
Range
(), but false for inPool() check.
///
/// @param type type of pools to iterate over
/// @param addr this address will be checked if it belongs to any pools in
...
...
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