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
450
Issues
450
List
Boards
Labels
Service Desk
Milestones
Merge Requests
75
Merge Requests
75
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
6f9dfacd
Commit
6f9dfacd
authored
Nov 09, 2019
by
Tomek Mrugalski
🛰
Committed by
Tomek Mrugalski
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#1004
] werror compilation fixes
parent
06a8a342
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
+7
-0
src/lib/dhcpsrv/tests/lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/lease_mgr_unittest.cc
+2
-2
No files found.
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
View file @
6f9dfacd
...
...
@@ -986,6 +986,13 @@ TEST_F(HostMgrTest, getAllbyHostnameSubnet4) {
testGetAllbyHostnameSubnet4
(
*
getCfgHosts
(),
*
getCfgHosts
());
}
// This test verifies that HostMgr returns all reservations for the specified
// hostname and DHCPv6 subnet. The reservations are defined in the server's
// configuration.
TEST_F
(
HostMgrTest
,
getAllbyHostnameSubnet6
)
{
testGetAllbyHostnameSubnet6
(
*
getCfgHosts
(),
*
getCfgHosts
());
}
// This test verifies that HostMgr returns all reservations for the specified
// hostname and DHCPv6 subnet. The reservations are defined in the server's
// configuration.
...
...
src/lib/dhcpsrv/tests/lease_mgr_unittest.cc
View file @
6f9dfacd
...
...
@@ -144,7 +144,7 @@ public:
/// @param hostname hostname in lower case.
///
/// @return Lease collection (may be empty if no IPv4 lease found).
virtual
Lease4Collection
getLeases4
(
const
std
::
string
&
hostname
)
const
{
virtual
Lease4Collection
getLeases4
(
const
std
::
string
&
)
const
{
return
(
Lease4Collection
());
}
...
...
@@ -240,7 +240,7 @@ public:
/// @param hostname hostname in lower case.
///
/// @return Lease collection (may be empty if no IPv6 lease found).
virtual
Lease6Collection
getLeases6
(
const
std
::
string
&
hostname
)
const
{
virtual
Lease6Collection
getLeases6
(
const
std
::
string
&
)
const
{
return
(
Lease6Collection
());
}
...
...
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