Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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